databazaar
v1.5.1Search and preview datasets publicly.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_datasets
Search the DataBazaar marketplace for datasets matching a natural-language query, with optional filters for category, price, quality score, and pricing type. Returns ranked listings with prices, quality scores, and checkout URLs. When results are empty, log_data_gap can post a bounty to signal demand to sellers.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language search query describing the data needed |
category | string | Filter by category: geographic, pricing, sensor, images, text, financial, scientific, social, retail, other |
limit | integer | |
max_price | number | Maximum price in USD — omit to include all prices |
min_quality_score | number | Minimum assessed sample structure score (0-100); unassessed listings are excluded. See https://databazaar.io/quality for the rubric and limitations. |
pricing_type | string |
get_dataset
Get full metadata for a specific dataset — schema, column counts, quality score, price anchoring, and a forwardable purchase pitch. Includes a checkout_url for one-click human purchase and a human_pitch field for operator messaging.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID to retrieve |
preview_sample
Preview sample rows of a dataset to verify it contains the expected columns, format, and quality. Returns a signed download URL for ~50 rows plus the schema. Pass an optional question to get a synthesized answer from the sample (e.g. "average price in 2024") — no purchase required.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID to preview |
question | string | Optional natural-language question to answer from the sample (e.g. "average rent in SF", "count of records per state"). Returns a synthesized_answer field with deterministic aggregates if the question… |
find_data_for_task
Given a free-text research or analysis task, return DataBazaar datasets ranked by relevance. More targeted than search_datasets — each result includes a why_relevant explanation tailored to the task description.
| Parameter | Type | Description |
|---|---|---|
task_description * | string | Describe the goal — e.g. "train a model to predict apartment rent in SF using 2024 listings" |
budget_usd | number | Maximum budget in USD — omit to include all price ranges |
log_data_gap
Record an unmet data need on DataBazaar. When a suggested price is provided, this also creates a bounty listing visible to sellers. Returns a message_for_user string suitable for forwarding to the operator, including the bounty URL.
| Parameter | Type | Description |
|---|---|---|
description * | string | Detailed description of the data needed — format, time range, geography, etc. |
query * | string | The search query or data need that returned no results |
suggested_price_usd | number | Suggested bounty price in USD (default $25 if not provided) |
check_coverage
Check whether a known public data source (e.g. "noaa", "data.gov", "census.gov") is already on DataBazaar. Returns covered=true and matching datasets when the source is available; otherwise log_data_gap can record demand.
| Parameter | Type | Description |
|---|---|---|
source_name | string | Short name of the data source (e.g. "noaa", "census", "data.gov") |
source_url | string | Full URL of the data source (e.g. "https://noaa.gov") — will be normalized |
buy_now
Authorize a one-time purchase of a dataset on the DataBazaar marketplace. Free datasets ($0) require no payment method and are immediately accessible. Paid datasets are charged via Stripe Checkout against the operator's saved card or a payment_method_id. DataBazaar is a marketplace; funds move through Stripe Connect to the seller and the platform fee is 3%. Call preview_sample first to verify the dataset matches the operator's need.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID to purchase |
payment_method_id | string | Stripe payment method ID (pm_...). Not needed for free ($0) datasets. Optional for paid datasets if a default card is saved for this operator. |
list_bounty_reviews
List submissions the current verified agent is authorized to review, oldest first, with due dates and payment next actions.
| Parameter | Type | Description |
|---|---|---|
filter | string | |
limit | integer | |
offset | integer | |
updated_since | string |
get_bounty_submission
Read an authorized submission, its review version, requirements, feedback, and settlement timeline. Does not expose full unpaid files.
| Parameter | Type | Description |
|---|---|---|
submission_id * | string |
preview_bounty_submission
Get a temporary URL for the safe submission sample. Review the requirements and sample before authorizing a purchase.
| Parameter | Type | Description |
|---|---|---|
bounty_id * | string | |
submission_id * | string |
review_bounty_submission
Start review, request changes, decline, or extend once. Requires the current review version; a stale version returns a conflict. This tool does not authorize payment.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
submission_id * | string | |
version * | integer | |
reason | string |
accept_bounty_submission
Explicitly authorize the displayed reward for ONE submission. Multiple winners are allowed unless an optional cap is configured. Seller setup or payment authentication may be required; accepted is true only after funding succeeds. Resume the same submission to continue an existing purchase; never assume selection means payment completed.
| Parameter | Type | Description |
|---|---|---|
amount_cents * | integer | |
submission_id * | string | |
version * | integer |
get_download_url
Get a signed, time-limited (1 hour) download URL for a dataset the agent already has access to. All full downloads require account authentication. For free ($0) datasets, pass dataset_id; for paid datasets, pass purchase_id from a completed buy_now. URLs expire after 1 hour — call again for a fresh one. When retrieval_url is provided, prefer it for observed delivery and include the same account bearer token only on the DataBazaar API host. A manifest requires choosing files; one file need not be the whole dataset.
| Parameter | Type | Description |
|---|---|---|
dataset_id | string | Dataset ID — use this for free ($0) datasets. Account authentication required; no purchase needed. |
purchase_id | string | Purchase ID from buy_now — use this for paid datasets. |
list_purchases
List datasets purchased by this agent with status, prices, and download availability. Useful for spending audits, deduplicating before buy_now, or building a purchase summary for the operator.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | string | Filter by purchase status — omit to see all |
get_purchase_receipt
Get a cost-benefit receipt for a purchase: price paid, estimated scraping hours saved, and equivalent human-labor cost. The human_summary field is a one-liner suitable for forwarding to the operator (e.g. "$9 spent, ~6h scraping saved").
| Parameter | Type | Description |
|---|---|---|
purchase_id * | string | The purchase ID to generate a receipt for |
suggest_listing
Propose a dataset (e.g. produced as a research byproduct) for listing on DataBazaar. Creates a draft pending approval and returns an approval URL the operator can click to publish. The message_for_user field includes the approval link and suggested price.
| Parameter | Type | Description |
|---|---|---|
category * | string | Category: geographic, pricing, sensor, images, text, financial, scientific, social, retail, other |
description * | string | What the dataset contains, its source, format, and time range |
sample_data * | string | First ~20 rows of the dataset as a string (CSV or JSON) |
title * | string | Dataset title — clear, searchable, e.g. "NYC Parking Violations 2024 (CSV)" |
suggested_price_usd | number | Suggested listing price in USD — omit to let the operator decide |
contact_seller
Send a message to a dataset seller to ask questions before purchasing — about freshness, schema details, geographic coverage, or update frequency. Messaging is free and does not require a prior purchase. Sellers typically respond within 24 hours.
| Parameter | Type | Description |
|---|---|---|
message * | string | The question for the seller — be specific about what you need to know |
seller_id * | string | The seller user ID — found in the seller field of any dataset response |
subject * | string | Brief subject line, e.g. "Question about SF Rent 2024 dataset" |
dataset_id | string | The dataset being asked about — helps the seller answer in context |
create_listing
Create a new draft dataset listing on DataBazaar and return its dataset_id. Set price (USD) or price_cents for a paid listing — omitting both creates a FREE listing. After creating, use get_upload_urls to upload files, then publish_listing to go live.
| Parameter | Type | Description |
|---|---|---|
description * | string | Dataset description |
title * | string | Dataset title |
auction_config | object | Required for auction or hybrid pricing |
category | string | Category: geographic, pricing, sensor, images, text, financial, scientific, social, retail, other |
documentation | object | |
license | Optional custom reuse terms/license name. If this and license_url are blank, accepted listing terms grant Open Use. | |
price | number | Price in USD (e.g. 19). Mutually exclusive with price_cents. |
price_cents | integer | Price in integer cents (e.g. 1900 = $19.00). Mutually exclusive with price. |
pricing_type | string | Pricing model. Inferred as buy_it_now when a positive price is given; defaults to free only when no price is supplied. |
schema | object | Data schema describing columns/fields. Set { "format": "zip" } when uploading an archive. |
tags | array | Keyword tags for discoverability |
get_upload_urls
Provision signed upload URLs for a draft listing. Returns URLs for the sample and full dataset files. PUT file bytes directly to the returned upload_url, then call confirm_upload with the returned path.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The draft dataset ID |
confirm_upload
Confirm a file has been uploaded to its signed URL and trigger automatic sample generation (drafts only). Pass the full_data_path returned by get_upload_urls and the file format — use format "zip" for archives so the preview is generated from the archive contents. Poll get_listing_status until the sample is ready before publishing.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The draft dataset ID |
full_data_path * | string | The storage path from get_upload_urls (e.g. "{ownerId}/{datasetId}/full") |
format | string | Format of the uploaded file. Strongly recommended — the upload path has no extension. |
get_listing_status
Get the current status of a listing or draft. Used to poll for sample-generation completion (check sample_file_path or data_profile.auto_sample_status) before publishing.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID |
update_listing
Update metadata or pricing on a draft OR active listing. The correct API route is chosen from the listing's current status. To change the price of a live listing pass price (USD) or price_cents.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID to update |
category | string | New category |
description | string | New description |
documentation | object | |
license | Optional custom reuse terms/license name. If this and license_url are blank, accepted listing terms grant Open Use. | |
listing_terms_version | string | Version of listing terms explicitly accepted by the supplier |
price | number | Price in USD (e.g. 19). Mutually exclusive with price_cents. |
price_cents | integer | Price in integer cents (e.g. 1900 = $19.00). Mutually exclusive with price. |
pricing_type | string | Pricing model. Inferred as buy_it_now when a positive price is given; defaults to free only when no price is supplied. |
schema | object | Updated data schema |
tags | array | New tags |
title | string | New title |
tos_confirmed | boolean | Confirm authorization to accept https://databazaar.io/legal/terms#dataset-reuse: absent custom reuse terms, permit commercial use, modification, redistribution and model training without attribution. |
set_schema
Set or update the data schema for a draft or active listing. Define the columns, types, and descriptions so buyers know what fields the dataset contains.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID |
schema * | object | Schema object describing columns/fields. Example: { "columns": [{ "name": "id", "type": "integer" }, { "name": "email", "type": "string" }] } |
publish_listing
Publish a draft listing to the marketplace. Requires: full dataset uploaded (get_upload_urls + confirm_upload), sample generation complete (poll get_listing_status), and owner verification. Requires documentation.source_name and explicit acceptance of the current listing terms: https://databazaar.io/legal/terms#dataset-reuse. Without custom terms, Open Use allows commercial use, modification, redistribution, and model training without attribution. The listing then goes through a content scan before becoming publicly visible.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The draft dataset ID to publish |
listing_terms_version * | string | Version of listing terms explicitly accepted by the supplier |
tos_confirmed * | boolean | Confirm authorization to accept https://databazaar.io/legal/terms#dataset-reuse: absent custom reuse terms, permit commercial use, modification, redistribution and model training without attribution. |
query_dataset
Run a structured filter query against a queryable dataset and return matching rows. Useful for extracting a subset without downloading the full dataset. Returns rows as a JSON array (max 10,000 per call).
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset ID to query |
limit | integer | Maximum rows to return (capped at 10,000). |
select | array | Columns to return. Omit to return all columns. |
where | array | Filter clauses combined with AND. Maximum 16 clauses per query. |