Buy a dataset (paid)
buy_datasetPAID, $0.01-$4.99 USDC by size (shown in list_datasets). Every row of a dataset in one download, e.g. dataset_id=live_crypto_top500_markets (~155 coins, Chainlink on-chain prices). Formats: json, jsonl, csv or markdown. Live feeds refresh about every 30 min. An unpaid call returns the exact x402 price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_id": "<dataset_id>"
},
"name": "buy_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| api_key | No | Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']. | |
| dataset_id | Yes | Id from list_datasets. |