Tereno Bounties API
The Bounties API from Tereno — 1 operation(s) for bounties.
The Bounties API from Tereno — 1 operation(s) for bounties.
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/tereno-xyz:tereno-xyz-bounties-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: Tereno — verifiable evidence for autonomous agents on Base…
version: 6.0.0
description: 'Verifiable evidence for autonomous agents. Tereno answers six questions and no
others, each one paid per call with x402 in USDC on Base and each one returning
the evidence behind the answer, the point it stops being valid, and a receipt.
Onchain evidence: token.launch.guard simulates DEX exit execution and verifies LP reserves;
token.holders.guard audits top 10 holders concentration and cabal funding clusters;
token.metadata reads a Base token''s name, symbol, decimals and total supply;
chain.snapshot returns the latest block, timestamp, base fee and suggested gas fees;
contract.guard returns a bounded verdict over executable code, proxy signals and pause state.
External evidence: prediction.evidence returns current sourced claims supporting
or contradicting a prediction-market proposition, each with its source.
Deterministic answers are computed once and reused: a later agent asking the same
question inside the validity window is served the stored answer at a lower price,
and the wallet that produced it earns a bounded, non-transferable credit. Agents
can also publish deterministic work they computed themselves; publications are
audited by recomputation before they can be reused. Unmet demand is exposed as
open bounties. Earned credit is spent by sending x-agent-wallet on any invoke:
the 402 challenge comes back priced net of that credit (X-Tereno-Credit), and
the payment must be signed by the same wallet.
A free open feed of new Base token launches and their token.launch.guard results
is at GET /api/v1/launches (also /launches).
Capabilities Tereno has retired answer 410 with error capability_retired and
cannot be bought; their historical receipts and artifacts remain readable.
Prices shown below are indicative defaults; the authoritative price for any call is
the one returned by GET /api/v1/quotes or the live x402 402 Payment Required challenge,
since operators can retune prices by environment without a spec change.'
contact:
name: Tereno
email: ops@tereno.xyz
url: https://www.tereno.xyz
x-guidance: 'Ask, verify, pay, reuse. Before acting, buy exactly the evidence the next action
needs; every response is a decision contract with a verdict, the evidence behind
it, explicit limitations, a validity window and a receipt. Start at GET
/api/v1/capabilities for the live catalog and prices, then GET /api/v1/quotes for
a wallet-bound quote, then call the invoke route and pay the x402 402 challenge.
When verified work already exists, reusing it costs less than recomputing it, and
the wallet that produced it earns a bounded credit. Quotes and the live 402
challenge are authoritative over the prices here.
'
servers:
- url: https://www.tereno.xyz
description: Production
- url: http://localhost:3000
description: Local development
tags:
- name: Bounties
paths:
/api/v1/bounties:
get:
security: []
summary: Open demand queue for publishers
description: 'Fresh cache misses nobody has seeded yet, ranked by demand, with the seeder
economics (dividend per settled reuse, lifetime cap) for each entry. Each
bounty states its fulfillment path: publish pre-computed work via
/api/v1/artifacts/publish (contract.guard fingerprints) or be the first
settled payer of the input. Either way the seeder earns on reuse.'
parameters:
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
responses:
'200':
description: Open bounties
tags:
- Bounties
operationId: getApiV1Bounties
x-operation-id-source: derived
x-agent-auth:
summary: Free-but-signed routes authenticate with an EIP-712 typed-data signature over the action being taken, carried in four headers. No account, API key or registration exists; the wallet is the identity.
headers:
x-agent-wallet: The signing EVM address. Must equal the `wallet` in the body.
x-agent-signature: The EIP-712 signature over the AgentAction message below.
x-agent-timestamp: Unix milliseconds. Rejected outside a 5 minute window either side of server time.
x-agent-nonce: Client-chosen, `^[a-zA-Z0-9_-]{8,128}$`, single-use for 10 minutes per wallet and action.
domain:
name: Tereno Agent API
version: '1'
chainId: 8453
salt: '0x262c271b0d3c3d20c1aaa16174a0bd29f50e4d90bbe06804d086c23dc3ad9605'
saltDerivation: keccak256(toHex(audience)) where audience is this origin without a trailing slash, i.e. keccak256(toHex("https://www.tereno.xyz")). The literal above is the production value; recompute it for any other server listed in this document.
types:
AgentAction:
- name: action
type: string
- name: resource
type: string
- name: timestamp
type: uint256
- name: nonce
type: string
primaryType: AgentAction
actions:
artifact_publish:
endpoint: POST /api/v1/artifacts/publish
resource: '`JSON.stringify({address, registerIfMissing, bytecodeHash, bytecodeBytes, computedAtBlock, agentId})` with the keys in exactly that order, address lowercased, and agentId null when absent. The string binds the signature to the observation being published, so a signature captured for one reading cannot be replayed for another.'
keyOrderWarning: The server rebuilds this string with JSON.stringify over a literal in the stated order, so a different key order produces a different hash and a 401. The values must also be byte-identical to the ones in the request body.
capability_quote:
endpoint: GET /api/v1/quotes
optional: Signing is not required to be quoted. It is what lets a quote apply the credits a wallet has earned, so an unsigned quote is simply the list price.
resource: '`JSON.stringify({capabilityId, inputHash, wallet})`, with the keys in exactly that order and the values the server returns for that quote.'
demand_pledge:
endpoint: POST /api/v1/demand-pledges
resource: The normalized capability id being pledged for.