# AgentFeed NEAR Trade Context

> AgentFeed NEAR Trade Context is a paid API for AI agents from near.ochinimus.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-31).

Returns a combined crypto trading context payload including current prices, perpetual funding rates, and recent liquidations in a single call.

## Facts

- Endpoint: POST https://near.ochinimus.app/api/trade-context?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-near-trade-context-055b2beb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q6h7LGMezWlcjbvdyLZZD

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 agentfeed-near-trade-context-055b2beb -d '<json body>'
```

Example prompt: Pull the full crypto trading context right now — spot prices, perp funding rates, and recent liquidations — all in one shot so I can assess market conditions.

## When to prefer this

Choose this endpoint when you need prices, funding rates, and liquidation data simultaneously and want to minimize round-trips. It is more efficient than calling separate price, funding, and liquidation endpoints individually. Ideal for trading bots or dashboards that need a holistic market snapshot at each decision cycle.

## Known failure modes

- Payment failure if x402 USDC testnet payment is not properly attached — returns 402 Payment Required
- Network or upstream data source timeout returns 5xx error
- Malformed request body returns 400 Bad Request
- Testnet NEAR payment address misconfiguration causes payment rejection

## How this service works

Crypto trading context in one call: prices, funding, liquidations. Pays in Circle testnet USDC on NEAR TESTNET (near:testnet): no real money. x402 v2 exact, the gateway pays the gas.

## Output

A unified JSON payload containing current spot prices for major crypto pairs, live perpetual funding rates across venues, and recent liquidation events — all returned in a single response, suitable for immediate trading decision support.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-near-trade-context-055b2beb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from near.ochinimus.app](https://www.zero.xyz/host/near.ochinimus.app/llms.txt)
