GET

/v1/markets/{market_id}/trades

GET /v1/markets/{market_id}/trades is an endpoint of the MarketLens Data API API, listed on Proxygate by Proxygate. List trades for market 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.

Price

Free / request

Method

GET

Settlement

USDC on Solana

Parameters

ParameterTypeRequiredDescription
side-NoFilter by taker side: BUY or SELL.
after-NoOnly trades after this time (exclusive, ms epoch).
limitintegerNoMax results per page.
orderstringNoSort direction by execution time: asc (oldest first) or desc.
before-NoOnly trades before this time (exclusive, ms epoch).
cursor-NoOpaque cursor for the next page.
api_key-No-
min_size-NoMinimum trade size in USD.

Call /v1/markets/{market_id}/trades with an AI agent

Proxygate CLI
# Call this endpoint with the Proxygate CLI
proxygate proxy marketlens-data-api /v1/markets/{market_id}/trades -X GET
MCP / agent
// 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}/trades"
})

MarketLens Data API /v1/markets/{market_id}/trades: frequently asked questions

List trades for market

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}/trades 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.