Skip to main content
The buyer API is the HTTP surface for agents and scripts working on a buyer team: browse the published catalog and read your team’s purchases, offers, opportunities, wallet, and notifications. Buying, making offers, and paying stay in the web app. Base URL https://api.datavendor.ai, every route under /v2, authenticated with a team API key. Keys, conventions, and errors are shared with the vendor API and described on Using the API. The OpenAPI document behind this page is served with an interactive reference. A first call, returning the published catalog:

Objects

The same reads are available as MCP tools for coding agents.
Endpoint reference

Catalog

Buyer-facing reads over published listings from every team. Each listing carries the vendor organization’s team_name. Offers name your organization to the listing’s vendor; purchases never do.

Browse

Browse is filtered and sorted server-side. The first page carries tab counts and filter facets; follow next_cursor for the rest. Asset type values come from the taxonomy endpoints. Language, file extension, and capability values come from the first page’s facets, which count every published listing (or every search match when query is set, within one organization when org is set) regardless of the other filters. org=<slug> keeps only that organization’s listings, and the first page’s organization names it (team_id, slug, name, avatar_url). It is null when the slug names no organization with a published listing, and then nothing matches. Price, price per task, and scale filters are min_/max_ pairs (for example min_price and max_price); send either bound or both, and both are inclusive. Asset count pairs bound how many assets of one type a listing includes: min_codebases/max_codebases and min_raw_data/max_raw_data. A listing without that type counts zero. Each task is one asset, so min_tasks/max_tasks bound a listing’s task count. Codebase metric pairs (min_commits/max_commits, min_pull_requests/max_pull_requests, and min_contributors/max_contributors) keep listings with one codebase inside every bound at once; codebases with no value for a bounded metric never match. rare_languages_only=true keeps listings whose codebases are at most 40% JavaScript, TypeScript, and Python combined, by language bytes; listings without a language byte breakdown never match.
Request
Response 200
Request
Response 200
Request
Response 200
Request
Response 200
A listing that sells tasks lists them under tasks. Each task carries its version, type, origin (hud or harbor), and the vendor’s description.

Samples

A vendor can attach a free sample to an asset: a folder of its files with real names and contents, unlike the redacted file tree of the full data. A listing returns its assets that have a sample, each with the root of its sample, paged with limit (up to 20) and offset; an empty items list means none has one. Each sample listed counts against your team’s browse rate limit. Open a folder through the asset’s sample route, one level at a time, folders first, with next_cursor for more (limit up to 100); a path naming no folder answers 404. Each file’s url is valid for an hour: images, video, audio, PDF and text open inline, everything else downloads.
Request
Response 200
Request
Response 200

Taxonomy

The asset types vendors compose listings from. Pass the returned values into browse filters; an unknown value matches nothing rather than erroring.
Request
Response 200

Wanted

Open listing requests posted publicly (the Wanted catalog), read-only, including your own open public requests. Invite-only requests and requests that exclude your team are left out. Anonymous requests return no buyer identity. Responding with listings is for vendors: can_submit_listings is true only when your team also sells, is in the request’s vendor audience (in_vendor_audience), and the request still takes submissions (always false on your own requests).
Request
Response 200
Request
Response 200

Buying

The key-holding team’s own buyer history. Purchasing and making offers stay in the web app.

Purchases and offers

Request
Response 200
Every purchase is listed whatever its status: pending, invoiced, paid, accrued, cancelled, or refunded. paid and accrued (bought on account billing) both mean your team owns the listing. Invoice links, purchase order numbers, and invoice dates stay in the web app: over an API key, hosted_invoice_url, po_number, purchase_order_id, invoice_due_at, and invoice_sent_at are null.
Request
Response 200

Your opportunities

Listing requests your team posted.
Request
Response 200
Request
Response 200

Account

Request
Response 200
Request
Response 200