Skip to main content

Base URL

https://api.getdatagate.com/v1/

Authentication

All requests require an Authorization header:
Authorization: Bearer <api_key_or_jwt>

Content Type

All request and response bodies are JSON:
Content-Type: application/json

Common Endpoints

MethodPathDescription
GET/v1/users/meGet profile
PUT/v1/users/meUpdate profile
POST/v1/auth/api-keysGenerate / rotate API key
GET/v1/auth/api-keysGet current key suffix
DELETE/v1/auth/api-keysRevoke API key

Buyer Endpoints

MethodPathDescription
GET/v1/datasets/discoverDiscover all visible datasets
GET/v1/datasets/subscribedList subscribed datasets
GET/v1/datasets/{id}Get dataset detail
POST/v1/marketplace/{id}/subscribeSubscribe to dataset
DELETE/v1/marketplace/{id}/subscribeUnsubscribe from dataset
POST/v1/queryQuery across datasets
POST/v1/synthesizeQuery + LLM synthesis
GET/v1/billing/buyer-balanceGet balance
POST/v1/billing/depositCreate deposit checkout
GET/v1/billing/depositsDeposit history
GET/v1/billing/auto-depositAuto-deposit config
PUT/v1/billing/auto-depositConfigure auto-deposit
GET/v1/billing/payment-infoSaved payment methods
POST/v1/billing/portalStripe billing portal

Seller Endpoints

MethodPathDescription
POST/v1/connectorsCreate connector
GET/v1/connectorsList connectors
GET/v1/connectors/{id}Get connector detail
PUT/v1/connectors/{id}Update connector
DELETE/v1/connectors/{id}Delete connector
POST/v1/datasetsCreate dataset
GET/v1/datasetsList datasets
PUT/v1/datasets/{id}Update dataset
POST/v1/datasets/{id}/accessGrant buyer access
DELETE/v1/datasets/{id}/accessRevoke buyer access
GET/v1/datasets/{id}/buyersList buyers who queried
GET/v1/royalties/me/datasetsPer-dataset earnings
GET/v1/royalties/me/earningsEarnings time series
GET/v1/royalties/me/buyersPer-buyer earnings
POST/v1/billing/connectStripe Connect onboarding
GET/v1/billing/connect/statusOnboarding status
POST/v1/billing/connect/dashboardStripe dashboard link
POST/v1/billing/withdrawWithdraw earnings
GET/v1/billing/withdrawalsWithdrawal history
GET/v1/billing/seller-balanceSeller balance