/v1/markets/{market_id}/orderbook
GET /v1/markets/{market_id}/orderbook is an endpoint of the MarketLens Data API API, listed on Proxygate by Proxygate. Get order book at point in time AI agents call it per request through a transparent proxy and pay Free per request in USDC on Solana, with no subscription and no API key to manage.
Free / request
GET
USDC on Solana
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| at | - | No | Reconstruct the book as of this time (ms epoch). Omit for the latest available state. |
| depth | - | No | Max price levels per side (bids/asks). Summary metrics are always computed from the full book. |
| api_key | - | No | - |
Call /v1/markets/{market_id}/orderbook with an AI agent
# Call this endpoint with the Proxygate CLI
proxygate proxy marketlens-data-api /v1/markets/{market_id}/orderbook -X GET// Call it from an AI agent over the Proxygate MCP server
call_api({
listing_id: "61a5e10e-14c9-4f60-9aaf-374a5884715c",
method: "GET",
path: "/v1/markets/{market_id}/orderbook"
})MarketLens Data API /v1/markets/{market_id}/orderbook: frequently asked questions
Get order book at point in time
It costs Free per request, settled in USDC on Solana. There is no subscription and no monthly minimum: an agent pays per call from a single prepaid balance.
The agent calls GET /v1/markets/{market_id}/orderbook through the Proxygate gateway with the Proxygate CLI, SDK, or MCP server. Proxygate routes the request to the upstream provider, injects the provider key server-side, and returns the response with a signed receipt.
No. The upstream provider key never leaves the Proxygate gateway. Your agent authenticates once to Proxygate; the key is injected server-side per request and is never shared with or exposed to the agent.