Skip to Content
Market ServicesHTTP APIGet market profile

title: Get market profile description: Read market context for one supported instrument through AgentQL Market API.

Get market profile

Read market context for one supported instrument.

Use pair_address when available. Liquidity context is included when current backing can supply it.

Back to Market API

Access

  • Surfaces: mcp, rest, skill
  • Metering: mcp_call, rest_call
  • Scope: DEX available · EVM family primary

Handles

SurfaceLabelValue
mcpMCPmarket.resolve_market
restHTTPGET /v1/market/market-profile
skillSkillmarket.resolve_market

Contract notes

  • Prefer pair_address for explicit DEX market identity whenever it is available.
  • When pair_address is present, it is treated as the primary lookup key for the current request.
  • See Parameter Contracts for shared validation rules.
  • Zero-address inputs such as 0x0000000000000000000000000000000000000000 and shorthand forms such as 0x0 are rejected.
  • Failed responses return machine-readable error.code plus both trace_id and request_id for support and retry diagnostics.

Request example

GET {GATEWAY_BASE_URL}/v1/market/market-profile?market_kind=dex&chain=ethereum&pair_address=0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8

Try send

Try send

Try market profile

Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.

Response example

{ "market_profile": { "market_kind": "dex", "chain": "ethereum", "address": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8", "symbol": "WETH/USDC", "display_name": "WETH / USDC", "source_id": "gdex" }, "freshness_ms": 120, "source_status": "healthy" }

Request fields

Query parameters

FieldTypeRequiredNotes
market_kindstringRequiredMarket family. Use `dex` for now.
chainstringRequiredChain key. Use an enabled EVM chain such as `ethereum` or `base`.
pair_addressstringOptionalPreferred market identifier for DEX lookups. Send the full 20-byte canonical `0x...` pair contract address when you have it.
addressstringOptionalSecondary lookup input. Send the full 20-byte canonical `0x...` token contract address only when `pair_address` is unavailable.

Response fields

Market profile

FieldTypeNotes
market_profile.market_kindstringMarket family.
market_profile.chainstringMarket chain.
market_profile.addressstringMarket address.
market_profile.symbolstringMarket symbol.
market_profile.display_namestringDisplay name.
market_profile.source_idstringBacking source id.

Response metadata

FieldTypeNotes
freshness_msnumberData age in milliseconds.
source_statusstringSource health for this response.
Last updated on