Resource / 229
healthy2s.
Adjust a US dollar amount for inflation between two dates ('what is $100 in 1990 worth today?'). Pass amount, from (YYYY-MM-DD or YYYY), and optional to (defaults to the latest CPI month). Uses CPI-U (CPIAUCNS — the same not-seasonally-adjusted all-items index as the official BLS inflation calculator), data back to 1913. Returns the inflation-adjusted amount, cumulative inflation %, annualized rate, and the CPI index values used on each date. Source: BLS CPI via FRED (St. Louis Fed).
| State | Network | Scheme | Atomic amount | Asset | payTo / untrusted |
|---|---|---|---|---|---|
| active | eip155:8453 | exact | 3000 | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 | 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5 |
| active | solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp | exact | 3000 | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn |
All advertised payment options are stored. Base (`eip155:8453`) is the operational network for ranking and canaries; non-Base options remain visible for transparency.
healthy 2026-08-12 22:00:01 UTC GET · HTTP 402 · 40ms · accepts 2 · base 1 ok
Accepts snapshot
[
{
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"assetTransferMethod": null,
"extra": {
"name": "USD Coin",
"version": "2"
},
"maxTimeoutSeconds": 60,
"network": "eip155:8453",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"paymentFlow": null,
"raw": {
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"maxTimeoutSeconds": 60,
"max_timeout_seconds": 60,
"network": "eip155:8453",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"pay_to": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"scheme": "exact"
},
"scheme": "exact"
},
{
"amount": "3000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"assetTransferMethod": null,
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
"name": "USDC",
"version": "1"
},
"maxTimeoutSeconds": 60,
"network": "solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"paymentFlow": null,
"raw": {
"amount": "3000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
"name": "USDC",
"version": "1"
},
"maxTimeoutSeconds": 60,
"max_timeout_seconds": 60,
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"pay_to": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"scheme": "exact"
},
"scheme": "exact"
}
]
PaymentRequired raw
{
"accepts": [
{
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"maxTimeoutSeconds": 60,
"network": "eip155:8453",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"scheme": "exact"
},
{
"amount": "3000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
"name": "USDC",
"version": "1"
},
"maxTimeoutSeconds": 60,
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"scheme": "exact"
}
],
"error": "PAYMENT-SIGNATURE required",
"extensions": {
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"amount": 100,
"from": "1990-01-01"
},
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"amount": {
"description": "Dollar amount to adjust.",
"type": "number"
},
"from": {
"description": "Start date (YYYY-MM-DD or YYYY).",
"type": "string"
},
"to": {
"description": "End date (YYYY-MM-DD or YYYY). Defaults to latest CPI.",
"type": "string"
}
},
"required": [
"amount",
"from"
]
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
},
"resource": {
"description": "Adjust a US dollar amount for inflation between two dates ('what is $100 in 1990 worth today?'). Pass amount, from (YYYY-MM-DD or YYYY), and optional to (defaults to the latest CPI month). Uses CPI-U (CPIAUCNS — the same not-seasonally-adjusted all-items index as the official BLS inflation calculator), data back to 1913. Returns the inflation-adjusted amount, cumulative inflation %, annualized rate, and the CPI index values used on each date. Source: BLS CPI via FRED (St. Louis Fed).",
"iconUrl": "https://2s.io/icon-512.png",
"mimeType": "application/json",
"serviceName": "2s",
"tags": [
"public-records",
"identifiers",
"ai-agents",
"us-gov-data",
"x402",
"upto-billing",
"ai-gateway",
"agent-infrastructure"
],
"url": "https://2s.io/api/inflation/calculator"
},
"x402Version": 2
}
Response headers
{
"access-control-allow-headers": "Authorization, Content-Type",
"access-control-allow-methods": "GET, POST, OPTIONS",
"access-control-allow-origin": "*",
"access-control-max-age": "86400",
"age": "0",
"cache-control": "public, max-age=0, must-revalidate",
"content-security-policy": "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'none'",
"content-type": "application/json",
"date": "Wed, 12 Aug 2026 22:00:01 GMT",
"payment-required": "eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY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plY3QiLCJwcm9wZXJ0aWVzIjp7InR5cGUiOnsiY29uc3QiOiJodHRwIn0sIm1ldGhvZCI6eyJjb25zdCI6IkdFVCJ9LCJxdWVyeVBhcmFtcyI6eyJwcm9wZXJ0aWVzIjp7ImFtb3VudCI6eyJ0eXBlIjoibnVtYmVyIiwiZGVzY3JpcHRpb24iOiJEb2xsYXIgYW1vdW50IHRvIGFkanVzdC4ifSwiZnJvbSI6eyJ0eXBlIjoic3RyaW5nIiwiZGVzY3JpcHRpb24iOiJTdGFydCBkYXRlIChZWVlZLU1NLUREIG9yIFlZWVkpLiJ9LCJ0byI6eyJ0eXBlIjoic3RyaW5nIiwiZGVzY3JpcHRpb24iOiJFbmQgZGF0ZSAoWVlZWS1NTS1ERCBvciBZWVlZKS4gRGVmYXVsdHMgdG8gbGF0ZXN0IENQSS4ifX0sInJlcXVpcmVkIjpbImFtb3VudCIsImZyb20iXX19LCJyZXF1aXJlZCI6WyJ0eXBlIiwibWV0aG9kIiwicXVlcnlQYXJhbXMiXX19LCJyZXF1aXJlZCI6WyJpbnB1dCJdfX19fQ==",
"permissions-policy": "geolocation=(), camera=(), microphone=()",
"referrer-policy": "no-referrer",
"server": "Vercel",
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY",
"x-matched-path": "/api/inflation/calculator",
"x-payment-requirements": "x402",
"x-vercel-cache": "MISS",
"x-vercel-id": "iad1::iad1::df7hp-1786572001696-f50ed06c992d"
}
Response body
{
"accepts": [
{
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"maxTimeoutSeconds": 60,
"network": "eip155:8453",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"scheme": "exact"
},
{
"amount": "3000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
"name": "USDC",
"version": "1"
},
"maxTimeoutSeconds": 60,
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"scheme": "exact"
}
],
"error": "PAYMENT-SIGNATURE required",
"extensions": {
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"amount": 100,
"from": "1990-01-01"
},
"type": "http"
},
"output": {
"example": {
"items": [
{
"adjustedAmount": 255.3,
"amount": 100,
"annualizedPct": 2.64,
"cpiFrom": 127.4,
"cpiFromDate": "1990-01-01",
"cpiTo": 325.252,
"cpiToDate": "2026-01-01",
"cumulativeInflationPct": 155.3,
"from": "1990-01-01",
"seriesId": "CPIAUCNS",
"to": "2026-01-01"
}
],
"ok": true,
"source": {
"license": "FRED® data; many series are public domain (US govt). Attribution to FRED required for redistribution.",
"provider": "Federal Reserve Bank of St. Louis — FRED",
"url": "https://fred.stlouisfed.org/"
},
"total": 1
},
"schema": {
"properties": {
"items": {
"items": {
"properties": {
"adjustedAmount": {
"type": "number"
},
"amount": {
"type": "integer"
},
"annualizedPct": {
"type": "number"
},
"cpiFrom": {
"type": "number"
},
"cpiFromDate": {
"type": "string"
},
"cpiTo": {
"type": "number"
},
"cpiToDate": {
"type": "string"
},
"cumulativeInflationPct": {
"type": "number"
},
"from": {
"type": "string"
},
"seriesId": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"ok": {
"type": "boolean"
},
"source": {
"properties": {
"license": {
"type": "string"
},
"provider": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"total": {
"type": "integer"
}
},
"type": "object"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"amount": {
"description": "Dollar amount to adjust.",
"type": "number"
},
"from": {
"description": "Start date (YYYY-MM-DD or YYYY).",
"type": "string"
},
"to": {
"description": "End date (YYYY-MM-DD or YYYY). Defaults to latest CPI.",
"type": "string"
}
},
"required": [
"amount",
"from"
]
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
},
"output": {
"properties": {
"items": {
"items": {
"properties": {
"adjustedAmount": {
"type": "number"
},
"amount": {
"type": "integer"
},
"annualizedPct": {
"type": "number"
},
"cpiFrom": {
"type": "number"
},
"cpiFromDate": {
"type": "string"
},
"cpiTo": {
"type": "number"
},
"cpiToDate": {
"type": "string"
},
"cumulativeInflationPct": {
"type": "number"
},
"from": {
"type": "string"
},
"seriesId": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"ok": {
"type": "boolean"
},
"source": {
"properties": {
"license": {
"type": "string"
},
"provider": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"total": {
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
},
"resource": {
"description": "Adjust a US dollar amount for inflation between two dates ('what is $100 in 1990 worth today?'). Pass amount, from (YYYY-MM-DD or YYYY), and optional to (defaults to the latest CPI month). Uses CPI-U (CPIAUCNS — the same not-seasonally-adjusted all-items index as the official BLS inflation calculator), data back to 1913. Returns the inflation-adjusted amount, cumulative inflation %, annualized rate, and the CPI index values used on each date. Source: BLS CPI via FRED (St. Louis Fed).",
"iconUrl": "https://2s.io/icon-512.png",
"mimeType": "application/json",
"serviceName": "2s",
"tags": [
"public-records",
"identifiers",
"ai-agents",
"us-gov-data",
"x402",
"upto-billing",
"ai-gateway",
"agent-infrastructure"
],
"url": "https://2s.io/api/inflation/calculator"
},
"x402Version": 2
}
Request headers
{
"accept": "*/*",
"user-agent": "Fetch402Bot/0.1 (+https://fetch402.com/crawler; contact: crawler@fetch402.com)"
}
Machine contract
Schemas.
{
"method": "GET",
"queryParams": {
"amount": 100,
"from": "1990-01-01"
},
"type": "http"
}
{}