Get the previous completed OHLCV bar for one Stocks symbol
Get the previous completed OHLCV bar for one Stocks symbol.
Answeringour last check, 2026-11-27
3 of 3checks answered this week
394 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402.tickerlayer.com/v1/stocks/agg/:symbol/prev
| Category | Market data |
|---|---|
| Provider host | x402.tickerlayer.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.01 | 394 ms |
| 2026-11-26 | valid payment request | 402 | $0.01 | 370 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 414 ms |
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"symbol": "US:KO"
},
"queryParams": {
"interval": "1m"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"additionalProperties": false,
"properties": {
"symbol": {
"description": "Market-qualified stock symbol in COUNTRY_OR_MARKET:SYMBOL form, for example US:KO.",
"maxLength": 80,
"minLength": 3,
"pattern": "^[A-Za-z][A-Za-z0-9]*(?::|%3[Aa])[A-Za-z0-9][A-Za-z0-9.:%-]*$",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"interval": {
"description": "Optional. Returns the most recently settled bar at this interval instead of the previous daily bar. The response then also carries interval, bar_start, bar_end and as_of.",
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"as_of": {
"type": "integer"
},
"bar_end": {
"type": "integer"
},
"bar_start": {
"type": "integer"
},
"interval": {
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
],
"type": "string"
},
"result": {
"additionalProperties": false,
"properties": {
"c": {
"description": "Close price.",
"type": "number"
},
"h": {
"description": "High price.",
"type": "number"
},
"l": {
"description": "Low price.",
"type": "number"
},
"o": {
"description": "Open price.",
"type": "number"
},
"t": {
"description": "Unix epoch timestamp in milliseconds.",
"minimum": 946684800000,
"type": "integer"
},
"v": {
"description": "Volume when available.",
"minimum": 0,
"type": [
"number",
"null"
]
}
},
"required": [
"o",
"h",
"l",
"c",
"v",
"t"
],
"type": "object"
},
"symbol": {
"maxLength": 80,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9.:%-]*$",
"type": "string"
}
},
"required": [
"symbol",
"result",
"interval",
"bar_start",
"bar_end",
"as_of"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}