Beauty & Personal Care · x402 · early usage
As-of snapshot of any instrument at a past moment, exactly as stored; gaps returned as…
As-of snapshot of any instrument at a past moment, exactly as stored; gaps returned as gaps.
by api.debyko.com · discovered, not yet claimed by its owner · updated 2026-10-04
30d calls1
30d payers1
MethodPOST
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
As-of snapshot of any instrument at a past moment, exactly as stored; gaps returned as gaps.
Tags: crypto · perpetuals · market-data · history · point-in-time · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-04
Input example from Bazaar metadata
{
"from": "2026-10-01T00:00:00Z",
"interval": "1h",
"layers": [
"funding"
],
"to": "2026-10-01T06:00:00Z",
"where": "base in (BTC)"
}Output example
{
"evaluated_at": "2026-10-02T09:00:00.000Z",
"freshness": {},
"from": "2026-10-01T00:00:00Z",
"interval": "1h",
"items": [],
"items_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"mode": "interval",
"settled": true,
"to": "2026-10-01T06:00:00Z",
"units": "published"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/36555.jsonfor the price and payment options. - Pay. Call
GET https://api.debyko.com/v2/snapshots/history. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x17b2c55872338727660aa77776a4056a1a3158ec | 60s |
| exact | Base eip155:8453 | USDC | $9 | 0x17b2c55872338727660aa77776a4056a1a3158ec | 60s |
| exact | Base eip155:8453 | USDC | $29 | 0x17b2c55872338727660aa77776a4056a1a3158ec | 60s |
| exact | Base eip155:8453 | USDC | $99 | 0x17b2c55872338727660aa77776a4056a1a3158ec | 60s |
| exact | Base eip155:8453 | USDC | $249 | 0x17b2c55872338727660aa77776a4056a1a3158ec | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "9000000",
"amountUsd": 9,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "29000000",
"amountUsd": 29,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "99000000",
"amountUsd": 99,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "249000000",
"amountUsd": 249,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"capabilities_as_of": {
"oneOf": [
{
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
{
"type": "null"
}
]
},
"evaluated_at": {
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
"freshness": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"type": "object"
},
"from": {
"allOf": [
{
"oneOf": [
{
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
{
"type": "null"
}
]
}
]
},
"interval": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"identity_basis": {
"enum": [
"recorded",
"reconstructed"
],
"type": "string"
},
"identity_corrected_at": {
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
"instrument": {
"type": [
"string",
"null"
]
},
"layers": {
"type": "object"
},
"quote": {
"type": [
"string",
"null"
]
},
"reason": {
"type": "string"
},
"venue": {
"type": "string"
},
"venue_symbol": {
"type": "string"
}
},
"required": [
"instrument",
"venue",
"venue_symbol",
"quote",
"layers"
],
"type": "object"
},
"type": "array"
},
"items_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"listings_as_of": {
"oneOf": [
{
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
{
"type": "null"
}
]
},
"mode": {
"enum": [
"interval",
"at",
"raw"
],
"type": "string"
},
"receipt_id": {
"pattern": "^[0-9A-Za-z]{22}$",
"type": "string"
},
"served_at": {
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}Z$",
"type": "string"
},
"settled": {
"type": "boolean"
},
"to": {
"oneOf": [
{
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$",
"type": "string"
},
{
"type": "null"
}
]
},
"units": {
"enum": [
"published",
"base",
"quote"
],
"type": "string"
}
},
"required": [
"evaluated_at",
"settled",
"items_sha256",
"mode",
"units",
"freshness",
"items"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"capabilities_as_of": null,
"evaluated_at": "string",
"freshness": {},
"from": null,
"interval": "string",
"items": [
{
"identity_basis": "recorded",
"identity_corrected_at": "string",
"instrument": "string",
"layers": {},
"quote": "string",
"reason": "string",
"venue": "string",
"venue_symbol": "string"
}
],
"items_sha256": "string",
"listings_as_of": null,
"mode": "interval",
"receipt_id": "string",
"served_at": "string",
"settled": true,
"to": null,
"units": "published"
},
"type": "string"
}Examples
curl
curl "https://api.debyko.com/v2/snapshots/history"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://api.debyko.com/v2/snapshots/history");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.debyko.com/v2/snapshots/history")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.debyko.com
- Endpoint
- https://api.debyko.com/v2/snapshots/history
- Machine-readable
/resources/36555.json