xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Dome API logo

Dome Orderbook History

dome_orderbook_history

Fetches historical orderbook snapshots for a specific asset (token ID) over a specified time range. If no start_time and end_time are provided, returns the latest orderbook snapshot for the market. Returns snapshots of the order book including bids, asks, and market metadata in order. All timestamps are in milliseconds. Orderbook data has history starting from October 14th, 2025. Note: When fetching the latest orderbook (without start/end times), the limit and pagination_key parameters are ignored.

$0.02/call
Flat rate
Dome API
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to fetches historical orderbook snapshots for a specific asset (token id) over a specified time range. if no start_time and end_time are provided, returns the latest orderbook snapshot for the market. returns snapshots of the order book including bids, asks, and market metadata in order. all timestamps are in milliseconds. orderbook data has history starting from october 14th, 2025. note: when fetching the latest orderbook (without start/end times), the limit and pagination_key parameters are ignored.. This is part of the Dome API provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 16+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("dome/dome_orderbook_history")
  2. xpay_run — Execute: xpay_run("dome/dome_orderbook_history", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
end_timeintegerNoEnd time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot.
limitintegerNoMaximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time.
start_timeintegerNoStart time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot.
token_idstringYesThe token id (asset) for the Polymarket market
pagination_keystringNoPagination key to get the next chunk of data. Ignored when fetching the latest orderbook without start_time and end_time.

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Dome API (all tools) — 17 tools
  • Dome Markets — $0.02/call
  • Dome Market Price — $0.02/call
  • Dome Markets Get — $0.02/call
  • Dome Activity — $0.02/call
  • Dome Binance Prices — $0.02/call

Links

  • Tool page: https://xpay.tools/dome/dome-orderbook-history/
  • Provider: https://xpay.tools/dome/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("dome/dome_orderbook_history")
// 2. Execute
xpay_run("dome/dome_orderbook_history", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

end_time

integerNo

End time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot.

limit

integerNo

Maximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time.

start_time

integerNo

Start time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot.

token_id

string
Yes

The token id (asset) for the Polymarket market

pagination_key

stringNo

Pagination key to get the next chunk of data. Ignored when fetching the latest orderbook without start_time and end_time.

Related Tools from Dome API
Dome Markets — $0.02Dome Market Price — $0.02Dome Markets Get — $0.02Dome Activity — $0.02Dome Binance Prices — $0.02Dome Wallet — $0.02Dome Orderbook History Get — $0.02Dome Market Price Get — $0.02
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/dome/dome-orderbook-history/SKILL.md
CLI
npx @xpaysh/cli install dome/dome-orderbook-history
Manual
curl -o SKILL.md https://xpay.tools/skills/dome/dome-orderbook-history/SKILL.md
Pricing

Cost

$0.02/call

Model

Flat rate

Provider

Dome API

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service