Data Owid
by Saylor Innovations Data Desk in Other
Any Our World in Data chart by slug for up to 6 countries - latest value and year, change versus the previous point and 10 years earlier, units and a recent series
https://saylorinnovations.com/api/data/owid- Price
- $0.01
- per call in USDC
- Uptime
- 77.8%
- last 30 days
- Response time
- 204 ms
- 613 ms slowest 5%
- Last check
- Failed
- 10 h ago, next any minute now
Reliability
Latest check failed 10 h ago: Expected HTTP 402, got 404
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/data/owid
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/data/owid?chart=life-expectancy&countries=USA%2CGBR%2CIND&years=10Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chart | string | Yes | OWID grapher slug from the chart URL, e.g. life-expectancy, co-emissions-per-capita |
countries | string | Yes | 1-6 ISO-3 codes such as USA,GBR,IND (OWID_WRL for world) |
years | string | No | optional 1-100 recent points, default 15 |
Example response
The provider's example. We can't check it without paying.
Example response, 163 lines
{
"chart": "life-expectancy",
"countries": [
{
"change_over_10y": 3.5036,
"change_vs_previous_point": 0.3042,
"code": "IND",
"entity": "India",
"latest_value": 72.0026,
"latest_year": 2023,
"series": [
{
"value": 68.9323,
"year": 2014
},
{
"value": 69.326,
"year": 2015
},
{
"value": 69.7091,
"year": 2016
},
{
"value": 70.0676,
"year": 2017
},
{
"value": 70.4152,
"year": 2018
},
{
"value": 70.7463,
"year": 2019
},
{
"value": 70.1563,
"year": 2020
},
{
"value": 67.2823,
"year": 2021
},
{
"value": 71.6984,
"year": 2022
},
{
"value": 72.0026,
"year": 2023
}
]
},
{
"change_over_10y": 0.3783,
"change_vs_previous_point": 0.2271,
"code": "GBR",
"entity": "United Kingdom",
"latest_value": 81.3015,
"latest_year": 2023,
"series": [
{
"value": 81.1529,
"year": 2014
},
{
"value": 80.919,
"year": 2015
},
{
"value": 81.0675,
"year": 2016
},
{
"value": 81.164,
"year": 2017
},
{
"value": 81.1229,
"year": 2018
},
{
"value": 81.4426,
"year": 2019
},
{
"value": 80.3854,
"year": 2020
},
{
"value": 80.708,
"year": 2021
},
{
"value": 81.0744,
"year": 2022
},
{
"value": 81.3015,
"year": 2023
}
]
},
{
"change_over_10y": 0.4868,
"change_vs_previous_point": 1.3254,
"code": "USA",
"entity": "United States",
"latest_value": 79.3043,
"latest_year": 2023,
"series": [
{
"value": 78.8785,
"year": 2014
},
{
"value": 78.7219,
"year": 2015
},
{
"value": 78.686,
"year": 2016
},
{
"value": 78.6483,
"year": 2017
},
{
"value": 78.7997,
"year": 2018
},
{
"value": 78.916,
"year": 2019
},
{
"value": 77.0115,
"year": 2020
},
{
"value": 76.3836,
"year": 2021
},
{
"value": 77.9789,
"year": 2022
},
{
"value": 79.3043,
"year": 2023
}
]
}
],
"indicator": "life_expectancy_0",
"note": "Any Our World in Data grapher chart: pass its slug from the chart URL and ISO-3 country codes. Values and units follow the original chart; check the source attribution for licensing.",
"source": "Our World in Data",
"source_attribution": "Riley (2005); Zijdeman et al. (2015); HMD (2025); UN WPP (2024) – with major processing by Our World in Data",
"subtitle": "",
"title": "Life expectancy",
"unit": "years",
"url": "https://ourworldindata.org/grapher/life-expectancy"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/data/owid?chart=life-expectancy&countries=USA%2CGBR%2CIND&years=10'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/data/owid?chart=life-expectancy&countries=USA%2CGBR%2CIND&years=10' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fdata%2Fowid
const res = await pay("https://saylorinnovations.com/api/data/owid?chart=life-expectancy&countries=USA%2CGBR%2CIND&years=10");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/data/owid?chart=life-expectancy&countries=USA%2CGBR%2CIND&years=10")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 h ago | Expected HTTP 402, got 404 | 404 | 312 ms | - |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 187 ms | $0.01 |
| 5 days ago | Passed | 402 | 178 ms | $0.01 |
| 5 days ago | Passed | 402 | 291 ms | $0.01 |
Show 10 older checks
| 6 days ago | Passed | 402 | 278 ms | $0.01 |
| 6 days ago | Passed | 402 | 1.2 s | $0.01 |
| 7 days ago | Passed | 402 | 212 ms | $0.01 |
| 7 days ago | Passed | 402 | 194 ms | $0.01 |
| 8 days ago | Passed | 402 | 269 ms | $0.01 |
| 8 days ago | Passed | 402 | 749 ms | $0.01 |
| 9 days ago | Passed | 402 | 275 ms | $0.01 |
| 9 days ago | Passed | 402 | 368 ms | $0.01 |
| 10 days ago | Passed | 402 | 424 ms | $0.01 |
| 10 days ago | Passed | 402 | 557 ms | $0.01 |
History
| 2 Nov 2026 | Price on Solana changed from 101527 units of So11111111111111111111111111111111111111112 to 102688 units of So11111111111111111111111111111111111111112 |
| 2 Nov 2026 | Price on Solana changed from 103367 units of So11111111111111111111111111111111111111112 to 101527 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102895 units of So11111111111111111111111111111111111111112 to 103367 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102287 units of So11111111111111111111111111111111111111112 to 102895 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 101453 units of So11111111111111111111111111111111111111112 to 102287 units of So11111111111111111111111111111111111111112 |
| 29 Oct 2026 | Price on Solana changed from 94522 units of So11111111111111111111111111111111111111112 to 96487 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95925 units of So11111111111111111111111111111111111111112 to 94522 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95134 units of So11111111111111111111111111111111111111112 to 95925 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95905 units of So11111111111111111111111111111111111111112 to 95134 units of So11111111111111111111111111111111111111112 |
| 27 Oct 2026 | Price on Solana changed from 96593 units of So11111111111111111111111111111111111111112 to 95905 units of So11111111111111111111111111111111111111112 |
| 26 Oct 2026 | Price on Solana changed from 95415 units of So11111111111111111111111111111111111111112 to 96593 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 96391 units of So11111111111111111111111111111111111111112 to 95415 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95434 units of So11111111111111111111111111111111111111112 to 96391 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 94771 units of So11111111111111111111111111111111111111112 to 95434 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95575 units of So11111111111111111111111111111111111111112 to 94771 units of So11111111111111111111111111111111111111112 |