Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: DataBazaar Purchases API
version: 1.0.0
description: REST API for discovering and purchasing datasets. Used by AI agents.
servers:
- url: https://api.databazaar.io
description: Production
security:
- bearerAuth: []
tags:
- name: Purchases
paths:
/purchases:
get:
summary: List all purchases for the authenticated operator
responses:
'200':
description: List of purchases with status and metadata
tags:
- Purchases
operationId: getPurchases
x-operation-id-source: derived
/purchases/{id}/download-url:
get:
summary: Get a signed download URL for a completed purchase
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Signed URL valid for a short window (typically 60s)
'403':
description: Purchase does not belong to caller or payment not confirmed
'404':
description: Purchase not found
tags:
- Purchases
operationId: getPurchasesByIdDownloadUrl
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer