{
  "serviceId": "crypto-fx-market-data",
  "displayName": "Crypto FX Market Data",
  "description": "Current crypto prices and 24-hour change from CoinGecko, in the currency you choose. POST /v1/crypto with {ids, vs_currency} using CoinGecko coin ids (e.g. bitcoin, ethereum) and get one JSON object back. Pay per request in USDC; no account, no API key.",
  "category": "finance",
  "resourceUrl": "https://agent.pocket.network/v1/crypto-fx-market-data",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "The request body for POST /v1/crypto.",
    "properties": {
      "ids": {
        "type": "string",
        "description": "Comma-separated CoinGecko coin ids, e.g. bitcoin,ethereum."
      },
      "vs_currency": {
        "type": "string",
        "description": "Quote currency, e.g. usd."
      }
    },
    "required": [
      "ids",
      "vs_currency"
    ]
  },
  "outputSchema": {
    "type": "object",
    "description": "For POST /v1/crypto, a JSON object with `prices` keyed by coin id (price and 24h change), vs, source and a cache flag. The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field."
  },
  "methods": {
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/crypto": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/crypto-fx-market-data",
  "descriptor": "https://agent.pocket.network/services/crypto-fx-market-data/descriptor.json"
}