# Revenue Swarm Crypto Spot Price API (x402)

> Revenue Swarm Crypto Spot Price API (x402) is a paid API for AI agents from eu-tender-x402-v2-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-30).

Returns the current spot price of a cryptocurrency asset in a specified fiat or quote currency, billed per call via x402 USDC on Base.

## Facts

- Endpoint: GET https://eu-tender-x402-v2-production.up.railway.app/api/crypto-spot?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revenue-swarm-crypto-spot-price-api-x402-661c54d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2jlyC8Now2qIms7z52Tv5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability revenue-swarm-crypto-spot-price-api-x402-661c54d0
```

Example prompt: What's the current spot price of BTC in USD?

## When to prefer this

Choose this endpoint when your agent needs a quick, pay-per-call real-time crypto spot price without a subscription, especially within a Base/x402 payment flow or alongside other Revenue Swarm endpoints (EU tenders, Base wallet data). It is well-suited for low-frequency spot checks where a full market data subscription would be overkill.

## Known failure modes

- Unsupported or misspelled crypto ticker returns an error or empty result
- Unsupported quote currency falls back to USD or returns an error
- Payment failure via x402 blocks the request before data is returned
- Rate limiting or service downtime on the railway.app host returns 5xx
- Missing required 'symbol' query param returns a validation error

## How this service works

Pay-per-call B2B sales lead and procurement intelligence plus Base wallet data for agents. Search EU tenders/RFPs or inspect a Base wallet. Payments use x402 USDC on Base.

## Output

A JSON object containing the base asset ticker (e.g. BTC), the current spot price as a decimal string, the quote currency ticker (e.g. USD), and a product label string ('Crypto Spot Price').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "quote": {
       "type": "string",
       "description": "Fiat or supported quote ticker; default USD"
      },
      "symbol": {
       "type": "string",
       "description": "Crypto asset ticker, e.g. BTC, ETH, SOL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "BTC",
  "price": "60000.00",
  "quote": "USD",
  "product": "Crypto Spot Price"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revenue-swarm-crypto-spot-price-api-x402-661c54d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v2-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v2-production.up.railway.app/llms.txt)
