# Pocket Network Crypto FX Market Data

> Pocket Network Crypto FX Market Data is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns current prices and 24-hour change for one or more cryptocurrencies in a chosen fiat or crypto currency, sourced from CoinGecko.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/crypto-fx-market-data?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-crypto-fx-market-data-ba925c48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LVtn3B7HhmZXlRYpy6vw8

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 pocket-network-crypto-fx-market-data-ba925c48 -d '<json body>'
```

Example prompt: What are the current prices and 24-hour changes for bitcoin and ethereum quoted in USD?

## When to prefer this

Choose this endpoint when you need real-time crypto prices and 24-hour changes for one or more coins without setting up an account or API key, and you want to pay per-request in USDC via the x402 protocol. It is ideal for agents, bots, or lightweight pipelines that need CoinGecko data on demand without managing subscriptions.

## Known failure modes

- Invalid or misspelled CoinGecko coin ID returns an empty or error data object
- Unsupported vs_currency value may return an error or empty price field
- CoinGecko upstream rate limits or outages cause delayed or failed responses
- Missing required fields (ids or vs_currency) results in a validation error
- Payment failure (insufficient USDC or x402 protocol error) prevents the request from completing

## How this service works

Pay-per-call access to Pocket Network services. No account, no API key.

## Output

A JSON object containing current price and 24-hour change data for each requested coin in the chosen quote currency, along with a portal metadata object including service ID, provenance, and schema-check status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "vs": {
   "type": "string",
   "description": "Quote currency, default usd."
  },
  "ids": {
   "type": "string",
   "description": "Comma-separated CoinGecko coin ids, e.g. bitcoin,ethereum."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "portal": {
   "serviceId": "crypto-fx-market-data",
   "provenance": "third-party-supplier",
   "schemaCheck": "passed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-crypto-fx-market-data-ba925c48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
