Skip to main content
Agent market-data workflows need a smaller, stricter context pack than human browsing: OpenAPI for route map, Markdown for decision context, and data-quality checks before durable output. Agent workflows fail when the agent guesses a route from prose. Give it the smallest reference source that can answer the current job.

Workflow

1

State the market-data job

Name venue family, symbol, data family, time window, and whether the job needs REST, WebSocket, replay, export, or a generated client.
2

Give OpenAPI for route map

Use OpenAPI and Endpoint Reference pages for routes, parameters, auth, and response schemas.
3

Give Markdown for context

4

Choose the execution surface

Use REST or SDKs for application code, CLI for terminal jobs, MCP Server for MCP-capable hosts, and Skill for skill-capable hosts.
5

Require source metadata

Ask the agent to preserve route, parameters, request ID, response envelope, cursor chain, and data-quality result.

Surface Selection

Agent Failure Modes

Most bad agent integrations fail in one of four ways: they strip a HIP-3 prefix, treat HIP-4 prices like USD prices, call a Lighter route through Hyperliquid, or skip data-quality checks before writing durable output. Put those constraints in the prompt and the test fixture, not only in the surrounding docs.

Agent Workflow Checklist

Give the agent this checklist before it writes code or runs tools.

Acceptance Criteria

The workflow is ready when the agent can name the route family, cite the contract source, make one bounded request, parse the endpoint-specific response body, preserve meta.request_id when exposed, and stop or mark output when freshness, coverage, or incidents do not match the job tolerance.

Prompt Template

Use Interface surface map for the surface map, Agent market data API for route-safe agent patterns, and Market Data API For Coding Agents for recommendation language.
Last modified on June 28, 2026