SALT19 Fresh State API
The fresh-state API from SALT19 — 12 operation(s) for fresh-state.
The fresh-state API from SALT19 — 12 operation(s) for fresh-state.
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/salt19-com:salt19-com-fresh-state-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: SALT19 Agent Utility Grid Fresh State API
version: 0.5.1
description: SALT19 Agent Utility Grid with Proof402 machine-commerce preflight, x402 payment/delivery binding verification, Ed25519 signed receipts, and Merkle-batched audit evidence.
contact:
name: SALT19
email: info@salt19.com
url: https://salt19.com/
x-guidance: Use the request schema for the selected POST utility. Paid routes use x402 v2 on Base mainnet with USDC. An unpaid request returns HTTP 402 with PAYMENT-REQUIRED; satisfy that challenge and retry the same request with the payment proof. Utility results are bounded decision-support evidence, not guarantees of security, compatibility, legal suitability, or runtime correctness.
x-semantic-idempotency:
required_for_paid_operations: true
http_header: Idempotency-Key
guarantee: one operation_id -> at most one durable execution effect and one successful economic transaction
retry_rule: preserve the same operation ID after timeout or ambiguous response; never mint a new ID merely to retry the same intended purchase
x-x402-client-compatibility:
standard_clients_supported: true
semantic_idempotency_header: recommended
fallback: payment-proof-derived operation identity on paid retry
x-proof402:
version: proof402-v1
commerce_root: SHA-256(domain || request_hash || offer_hash || policy_hash || payment_hash || settlement_hash || delivery_hash || nonce)
receipt_signature: Ed25519
free_verification: /proof402/receipts/{id}
x-fresh-state-grid:
version: 0.6.0
positioning: live external state without buyer signup, subscriptions, or upstream API-key management
acquisition_price_floor_usd: 0.01
x-salt19-linked-verification:
description: Receipt verification URLs are returned by paid decision/Proof402 results and require a concrete receipt identifier. They remain live runtime endpoints but are intentionally excluded from standalone agent discovery because an arbitrary probe has no valid receipt ID.
routes:
- /receipts/{id}
- /proof402/receipts/{id}
x-salt19-acquisition-router:
version: free-tool-selection-v1
start_here: /discover/find-tool
pricing: /discover/pricing
mcp_tools:
- find-salt19-tool
- salt19-pricing
payment_preflight: x402-payment-preflight
servers:
- url: https://api.salt19.com
tags:
- name: fresh-state
paths:
/v1/base-token-allowance:
post:
operationId: base-token-allowance
summary: Base Token Allowance
description: 'Read a live ERC-20 allowance on Base for an owner/spender pair without an API key. Returns the current block and raw token units. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
token_address:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
owner:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
spender:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
required:
- token_address
- owner
- spender
additionalProperties: false
example:
token_address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
owner: '0x0000000000000000000000000000000000000001'
spender: '0x0000000000000000000000000000000000000002'
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/base-token-balance:
post:
operationId: base-token-balance
summary: Base Token Balance
description: 'Read a live ERC-20 token balance on Base and return raw units plus best-effort token decimals/symbol metadata without signup or an API key. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
token_address:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
owner:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
required:
- token_address
- owner
additionalProperties: false
example:
token_address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
owner: '0x0000000000000000000000000000000000000001'
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/base-transaction-status:
post:
operationId: base-transaction-status
summary: Base Transaction Status
description: 'Check current Base transaction receipt state and return PENDING, CONFIRMED_SUCCESS, or CONFIRMED_REVERTED with block and gas evidence. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
transaction_hash:
type: string
pattern: ^0x[0-9a-fA-F]{64}$
required:
- transaction_hash
additionalProperties: false
example:
transaction_hash: '0x0000000000000000000000000000000000000000000000000000000000000000'
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/base-wallet-balance:
post:
operationId: base-wallet-balance
summary: Base Wallet Balance
description: 'Read a wallet''s live native ETH balance on Base at the latest block without an API key. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
required:
- address
additionalProperties: false
example:
address: '0x0000000000000000000000000000000000000001'
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/base-contract-state:
post:
operationId: base-contract-state
summary: Base Contract State
description: 'Inspect whether a Base address currently has deployed bytecode and return code size plus best-effort ERC-20 metadata. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
pattern: ^0x[0-9a-fA-F]{40}$
required:
- address
additionalProperties: false
example:
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/sec-recent-filings:
post:
operationId: sec-recent-filings
summary: Sec Recent Filings
description: 'Return recent SEC EDGAR filings for a company CIK from the live SEC submissions feed, normalized for agent consumption. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
cik:
type: string
pattern: ^[0-9]{1,10}$
limit:
type: integer
minimum: 1
maximum: 20
required:
- cik
additionalProperties: false
example:
cik: 0000320193
limit: 8
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/sec-company-facts:
post:
operationId: sec-company-facts
summary: Sec Company Facts
description: 'Return selected latest SEC XBRL company facts from EDGAR''s live companyfacts feed with source dates and units. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
cik:
type: string
pattern: ^[0-9]{1,10}$
concepts:
type: array
maxItems: 8
items:
type: string
maxLength: 96
required:
- cik
additionalProperties: false
example:
cik: 0000320193
concepts:
- Assets
- Liabilities
- Revenues
- NetIncomeLoss
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/nws-active-alerts:
post:
operationId: nws-active-alerts
summary: Nws Active Alerts
description: 'Return current U.S. National Weather Service active alerts for a state or territory as compact structured JSON. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
area:
type: string
pattern: ^[A-Za-z]{2}$
limit:
type: integer
minimum: 1
maximum: 20
required:
- area
additionalProperties: false
example:
area: FL
limit: 10
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/usgs-earthquakes:
post:
operationId: usgs-earthquakes
summary: Usgs Earthquakes
description: 'Query recent USGS earthquake events by lookback window and minimum magnitude and return compact live event state. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
hours:
type: integer
minimum: 1
maximum: 168
min_magnitude:
type: number
minimum: 0
maximum: 10
limit:
type: integer
minimum: 1
maximum: 50
required: []
additionalProperties: false
example:
hours: 24
min_magnitude: 2.5
limit: 20
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/url-to-llm-markdown:
post:
operationId: url-to-llm-markdown
summary: Url To Llm Markdown
description: 'Fetch a public web page, remove scripts/styles/navigation noise, and return bounded LLM-friendly Markdown plus canonical URL and fetch provenance. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
maxLength: 2048
max_chars:
type: integer
minimum: 1000
maximum: 150000
required:
- url
additionalProperties: false
example:
url: https://example.com
max_chars: 50000
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/npm-package-facts:
post:
operationId: npm-package-facts
summary: Npm Package Facts
description: 'Return live npm registry facts for the latest or requested package version without the higher-priced vulnerability and adoption decision layer. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
package:
type: string
minLength: 1
maxLength: 214
version:
type: string
maxLength: 64
required:
- package
additionalProperties: false
example:
package: hono
version: 4.13.3
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
/v1/github-repo-facts:
post:
operationId: github-repo-facts
summary: Github Repo Facts
description: 'Return current public GitHub repository facts such as archive state, license, stars, forks, branch and latest push without the premium adoption decision. Current x402 price: $0.01.'
tags:
- fresh-state
parameters:
- name: Idempotency-Key
in: header
required: false
description: Recommended for the strongest semantic at-most-once retry contract. Standard x402 clients may omit it.
schema:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
repo:
type: string
minLength: 3
maxLength: 512
required:
- repo
additionalProperties: false
example:
repo: cloudflare/workers-sdk
responses:
'200':
description: Fresh-State result
'400':
description: Invalid input
'402':
description: x402 Payment Required
'502':
description: Upstream state source unavailable
x-payment-info:
price: $0.01
network: eip155:8453
protocols:
- x402: {}
x-salt19-acquisition-role: FRESH_PRIMITIVE
x-salt19-standard-x402-compatibility: payment-proof-derived-idempotency-v1
x-salt19-payment-identity:
official_extension: payment-identifier
required: false
internal_authority: canonical semantic operation id
conflict_policy: fail-closed
x-salt19-late-settlement:
states:
- PENDING
- UNRESOLVED
- RECHECKING
- CONFIRMED
- CONFIRMED_LATE
- FAILED
- OUTCOME_UNKNOWN
authority: Base receipt/log verification under facilitator uncertainty
x-proof402-delivery-receipt-compatibility:
status: proposal-compatibility-adapter
scheme: x402-delivery-receipt-proposal-compat-v0
receipt_projection: /proof402/delivery-receipts/{id}
verifier: /proof402/delivery-receipt/verify
authority: Proof402 Ed25519/D1 receipt remains canonical
x-salt19-payability-promotion-gate:
version: external-payability-advertisement-gate-v1
rule: Paid routes with a fresh deterministic external-payability FAIL are omitted until a later certification no longer fails. Transient transport/retryable HTTP failures remain discoverable with degraded evidence.