Buy a dataset (paid)
buy_datasetPAID, $0.01-$4.99 USDC by size (shown in list_datasets). Use when you want every row of a dataset at once instead of scraping pages yourself. Returns all records in json, jsonl, csv or markdown. Call without payment to get the exact x402 price, then retry with payment; one payment, instant download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| api_key | No | Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']. | |
| dataset_id | Yes | Id from list_datasets. |