Validate a fixed JSON CSV column specification before assigning extraction or checking…
Validate a fixed JSON CSV column specification before assigning extraction or checking deliveries. Send typed column settings in requirements; returns the validated spec for /v1/accept/csv. Rejects unknown fields and unsupported settings. This checks the spec…
by csv-validator.mekler.ai · discovered, not yet claimed by its owner · updated 2026-10-02
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Validate a fixed JSON CSV column specification before assigning extraction or checking deliveries. Send typed column settings in requirements; returns the validated spec for /v1/accept/csv. Rejects unknown fields and unsupported settings. This checks the specification itself, not CSV data. No custom expressions, cross-column rules or prose-to-rule conversion. Schemas/examples attached; full contract: /openapi.json.
Tags: csv · schema-validation · data-contracts · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-02
{
"requirements": {
"columns": [
{
"name": "id",
"required": true,
"type": "string",
"unique": true
},
{
"max": "100",
"min": "0",
"name": "amount",
"required": true,
"type": "decimal"
}
],
"min_rows": 1
}
}{
"boundary": "Typed requirements only; no natural-language interpretation.",
"schema_version": 1,
"spec": {
"columns": [
{
"name": "id",
"required": true,
"type": "string",
"unique": true
},
{
"max": "100",
"min": "0",
"name": "amount",
"required": true,
"type": "decimal"
}
],
"min_rows": 1
},
"unsupported": []
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/38113.jsonfor the price and payment options. - Pay. Call
GET https://csv-validator.mekler.ai/v1/accept/compile. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.05 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Solana
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.05 | 9mMDrHabSf73MPn1ANdANSmsNw2wKiqE7JZ7eD6EUSRc | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "9mMDrHabSf73MPn1ANdANSmsNw2wKiqE7JZ7eD6EUSRc",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "50000",
"amountUsd": 0.05,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"boundary": {
"type": "string"
},
"schema_version": {
"enum": [
1
],
"type": "integer"
},
"spec": {
"additionalProperties": false,
"properties": {
"allow_extra_columns": {
"default": false,
"type": "boolean"
},
"columns": {
"items": {
"additionalProperties": false,
"properties": {
"enum": {
"items": {
"maxLength": 1000,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"max": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"min": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"name": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"required": {
"default": false,
"type": "boolean"
},
"type": {
"enum": [
"string",
"integer",
"decimal",
"boolean",
"date"
],
"type": "string"
},
"unique": {
"default": false,
"type": "boolean"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"max_rows": {
"default": 2000,
"maximum": 2000,
"minimum": 0,
"type": "integer"
},
"min_rows": {
"default": 0,
"maximum": 2000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"columns"
],
"type": "object"
},
"unsupported": {
"items": {
"type": "string"
},
"maxItems": 0,
"type": "array"
}
},
"required": [
"schema_version",
"spec",
"unsupported",
"boundary"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"boundary": "string",
"schema_version": 1,
"spec": {
"allow_extra_columns": false,
"columns": [
{
"enum": [
"string"
],
"max": null,
"min": null,
"name": "string",
"required": false,
"type": "string",
"unique": false
}
],
"max_rows": 2000,
"min_rows": 0
},
"unsupported": [
"string"
]
},
"type": "string"
}Examples
curl "https://csv-validator.mekler.ai/v1/accept/compile"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://csv-validator.mekler.ai/v1/accept/compile");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://csv-validator.mekler.ai/v1/accept/compile")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- csv-validator.mekler.ai
- Endpoint
- https://csv-validator.mekler.ai/v1/accept/compile
- Machine-readable
/resources/38113.json