Dex Ohlcv
Returns OHLCV candles for one DEX pool on Ethereum, Base, or BNB Smart Chain. Values keep provider literals.
POST https://agentapimarket.com/api/v1/dex-ohlcv
0.001 USDC on Base · payTo 0xa0679946b8f74c778566b5250a345932259be0c4
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"aggregate": 4,
"chain": "base",
"limit": 1,
"pool": "0x3333333333333333333333333333333333333333",
"timeframe": "hour"
}{
"data": {
"aggregate": 4,
"candles": [
{
"close": "1.00027690571219",
"high": "1.00257871811779",
"low": "0.985925654401274",
"open": "1.00208165944741",
"timestamp": "1779926400",
"volume": "3481.679733097695"
}
],
"chain": "base",
"network": "eip155:8453",
"pool": "0x3333333333333333333333333333333333333333",
"timeframe": "hour"
},
"ok": true,
"service": "chain.dexOhlcv"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 72 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 448 ms |
| Paid calls (30d, on-chain) | 5 calls · 5 buyers · shared price cohort of 8 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
POST https://agentapimarket.com/api/v1/dex-ohlcv · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"ethereum",
"base",
"bsc"
],
"description": "ethereum, base, or bsc"
},
"pool": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "0x-prefixed 20-byte pool address"
},
"timeframe": {
"type": "string",
"enum": [
"day",
"hour",
"minute",
"second"
],
"description": "day, hour, minute, or second"
},
"aggregate": {
"type": "integer",
"description": "day: 1. hour: 1, 4, 12. minute: 1, 5, 15. second: 1, 15, 30. Defaults to 1"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Candle count from 1 to 100. Defaults to 100"
}
},
"required": [
"chain",
"pool",
"timeframe"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://agentapimarket.com/api/v1/dex-ohlcv' \
-H 'content-type: application/json' -d '{"chain":"base","pool":"0x3333333333333333333333333333333333333333","timeframe":"hour","aggregate":4,"limit":1}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs