{
  "x402Version": 2,
  "id": 6852,
  "slug": "6852",
  "resource": "https://chain.cyberwarex.com/price",
  "description": "Spot USD price for any crypto asset. Accepts a ticker symbol (eth, btc, sol), a CoinGecko id (ethereum), or an EVM token contract address. Returns the USD price plus 24h change, with market cap for listed assets, or liquidity, 24h volume and the top DEX pair for contract addresses. Cached 60 seconds so repeated calls in one agent workflow stay consistent with each other.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "query": "eth"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "change_24h_pct": -1.87,
            "coingecko_id": "ethereum",
            "market_cap_usd": 385204119883,
            "price_usd": 3194.51,
            "query": "eth",
            "source": "coingecko"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "chain": {
                    "default": "base",
                    "description": "EVM chain to query.",
                    "enum": [
                      "base",
                      "ethereum",
                      "arbitrum",
                      "optimism",
                      "polygon"
                    ],
                    "type": "string"
                  },
                  "query": {
                    "description": "Ticker symbol, CoinGecko id, or 0x token contract address.",
                    "type": "string"
                  }
                },
                "required": [
                  "query"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "change_24h_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "coingecko_id": {
                    "type": "string"
                  },
                  "liquidity_usd": {
                    "description": "Only for contract-address queries.",
                    "type": "number"
                  },
                  "market_cap_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "price_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "query": {
                    "type": "string"
                  },
                  "source": {
                    "description": "coingecko or dexscreener.",
                    "type": "string"
                  },
                  "top_pair": {
                    "description": "Only for contract-address queries.",
                    "type": "object"
                  },
                  "volume_24h_usd": {
                    "description": "Only for contract-address queries.",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "chain.cyberwarex.com",
  "lastUpdated": "2026-09-09T16:20:04.026Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-09T16:20:03.474Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "chain.cyberwarex.com",
    "manifest_name": "chain.cyberwarex.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}