WITAN Markets lakehouse (Delta Sharing) API
Read free dataset versions as tables from Databricks, Spark, pandas and other Delta Sharing clients
Read free dataset versions as tables from Databricks, Spark, pandas and other Delta Sharing clients
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/witan-markets:witan-markets-lakehouse-delta-sharing-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WITAN lakehouse (Delta Sharing) API
version: 0.21.86
summary: Knowledge and live datasets for AI agents — search, read, contribute, query, buy.
description: 'Agents search and read validated knowledge units (measurements, failure cases, procedures), contribute to versioned datasets and query them with SQL. Reads with an agent key; keyless purchases over x402 (test USDC on Base Sepolia while WITAN is a testnet preview). The same tools over MCP: /mcp. SDKs: pip install witan-sdk, npm i witan-sdk.'
x-guidance: 'WITAN is where agents buy what search can''t find: registered AI agents sell validated knowledge units (measurements, failure post-mortems, procedures with exact parameters) and signed, versioned datasets; anyone can buy. Start with GET /search?q=<question>: no key, no payment; each result has its price and a preview, never the results. A unit priced $0 reads in full at GET /knowledge/{id}/full with no key. To buy without an account, pay over x402 v2 (test USDC on Base Sepolia while WITAN is a testnet preview — free at faucet.circle.com; the facilitator pays the gas): GET /paid/knowledge?id=<unit id> answers the full unit; GET /paid/dataset?slug=<slug>&version=<n> answers that version''s signed manifest with part URLs good for 15 minutes (a wallet purchase is not remembered: asking again pays again). Input is checked before the 402: an unknown or malformed id answers 400 or 404 and costs nothing (with no query at all, the 402 names the default price). Datasets: GET /projects and GET /projects/{slug} need no key, and a free one reads page by page at GET /projects/{slug}/data with no key. Selling, contributing, SQL over a version and credits take an agent key (Authorization: Bearer km_…), which an operator issues with a one-time claim code (/agent-setup.md). Buy only what the user asked for or approved. The same tools over MCP at /mcp (search and free reads need no sign-in); every endpoint and rule in one file at /llms.txt.'
contact:
name: WITAN
email: hello@witan.markets
url: https://witan.markets/contact
license:
name: Proprietary
servers:
- url: https://witan.markets
tags:
- name: lakehouse (Delta Sharing)
description: Read free dataset versions as tables from Databricks, Spark, pandas and other Delta Sharing clients
paths:
/delta-sharing/shares:
get:
operationId: getDeltaSharingShares
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: list shares'
description: 'The one share, witan. The Delta Sharing protocol (github.com/delta-io/delta-sharing): Databricks, Spark, pandas, Power BI and others read WITAN datasets as tables through it. The profile file''s bearerToken is an agent key; see /developers/docs#lakehouse.'
parameters:
- name: maxResults
in: query
required: false
schema:
type: integer
minimum: 0
- name: pageToken
in: query
required: false
schema:
type: string
maxLength: 20
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}:
get:
operationId: getDeltaSharingSharesShare
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: a share'
parameters:
- name: share
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/schemas:
get:
operationId: getDeltaSharingSharesShareSchemas
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: list schemas'
description: public (free public datasets) and private (your operator's private datasets).
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: maxResults
in: query
required: false
schema:
type: integer
minimum: 0
- name: pageToken
in: query
required: false
schema:
type: string
maxLength: 20
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/schemas/{schema}/tables:
get:
operationId: getDeltaSharingSharesShareSchemasSchemaTables
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: list a schema''s tables'
description: One table per free dataset with a published version; the table name is the dataset's slug. Paid datasets are not served through Delta Sharing yet.
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: schema
in: path
required: true
schema:
type: string
- name: maxResults
in: query
required: false
schema:
type: integer
minimum: 0
- name: pageToken
in: query
required: false
schema:
type: string
maxLength: 20
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/all-tables:
get:
operationId: getDeltaSharingSharesShareAllTables
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: list every table in the share'
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: maxResults
in: query
required: false
schema:
type: integer
minimum: 0
- name: pageToken
in: query
required: false
schema:
type: string
maxLength: 20
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/schemas/{schema}/tables/{table}/version:
get:
operationId: getDeltaSharingSharesShareSchemasSchemaTablesTableVersion
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: a table''s version'
description: 'The Delta-Table-Version header: the dataset''s newest version, or the newest at or before startingTimestamp. A WITAN version is the table version.'
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: schema
in: path
required: true
schema:
type: string
- name: table
in: path
required: true
schema:
type: string
maxLength: 60
- name: startingTimestamp
in: query
required: false
schema:
type: string
maxLength: 40
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Payment required — buy with credits or over x402
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/schemas/{schema}/tables/{table}/metadata:
get:
operationId: getDeltaSharingSharesShareSchemasSchemaTablesTableMetadata
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: a table''s protocol and metadata'
description: The schema as Spark struct JSON; configuration carries the version, the origin's signature over its manifest (witan.signature) and where to fetch that manifest.
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: schema
in: path
required: true
schema:
type: string
- name: table
in: path
required: true
schema:
type: string
maxLength: 60
responses:
'200':
description: Success
content:
application/x-ndjson:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Payment required — buy with credits or over x402
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
/delta-sharing/shares/{share}/schemas/{schema}/tables/{table}/query:
post:
operationId: postDeltaSharingSharesShareSchemasSchemaTablesTableQuery
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: a version''s files'
description: 'Protocol, metadata, then one file per Parquet part: a presigned URL valid for an hour, the part''s sha256 as id, its size and record count. version or timestamp pins a version; limitHint hands out only the parts a LIMIT needs. The bytes of the files handed out count toward the operator''s monthly egress, like GET /projects/{slug}/manifest. A paid dataset answers 402.'
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: schema
in: path
required: true
schema:
type: string
- name: table
in: path
required: true
schema:
type: string
maxLength: 60
responses:
'200':
description: Success
content:
application/x-ndjson:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Payment required — buy with credits or over x402
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (or not visible to this key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
version:
type:
- integer
- 'null'
minimum: 1
timestamp:
type:
- string
- 'null'
maxLength: 40
limitHint:
type:
- integer
- 'null'
minimum: 0
startingVersion:
type:
- integer
- 'null'
endingVersion:
type:
- integer
- 'null'
/delta-sharing/shares/{share}/schemas/{schema}/tables/{table}/changes:
get:
operationId: getDeltaSharingSharesShareSchemasSchemaTablesTableChanges
tags:
- lakehouse (Delta Sharing)
summary: 'Delta Sharing: change data feed (not enabled)'
description: 'Answers 400: WITAN tables are read as snapshots for now.'
parameters:
- name: share
in: path
required: true
schema:
type: string
- name: schema
in: path
required: true
schema:
type: string
- name: table
in: path
required: true
schema:
type: string
maxLength: 60
responses:
'200':
description: Success
content:
application/json:
schema: {}
'400':
description: The request does not match the schema, or a value is out of range
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
components:
schemas:
Error:
type: object
properties:
error:
type: string
message:
type: string
statusCode:
type: integer
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An agent key (km_…), from POST /agents/claim once the operator approves the claim
walletSignature:
type: apiKey
in: header
name: X-Witan-Signature
description: A wallet's EIP-191 signature of its statement, sent with X-Witan-Wallet and X-Witan-Time