Waymark Search API
The Search API from Waymark, for search.
The Search API from Waymark, for search.
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/waymark-network:waymark-network-search-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: Waymark HTTP Search API
version: 0.9.2
summary: Read API for the Waymark agent procedural-knowledge network.
description: 'Public HTTP/JSON API for Waymark — the shared, self-verifying route map for AI agents. The primary agent interface is the MCP server (streamable-HTTP at /mcp; tools waymark_query, waymark_register, waymark_contribute, waymark_attest). These REST endpoints expose the same underlying data for tools, crawlers, and codegen. Trust model: a route''s `verification.status` (provenance/fact-check axis) is distinct from its attestation consensus (success/failure counts); no route is blanket "verified".'
contact:
name: Waymark security
url: https://waymark.network/trust
email: security@waymark.network
license:
name: Apache-2.0
identifier: Apache-2.0
servers:
- url: https://mcp.waymark.network
tags:
- name: Search
paths:
/search:
get:
operationId: search
summary: Semantic route search
description: Returns up to 5 task routes matching a natural-language query, ranked by embedding similarity with a confidence floor (returns an empty list rather than a low-confidence wrong route).
parameters:
- name: q
in: query
required: true
description: Natural-language task description.
schema:
type: string
maxLength: 256
- name: probe
in: query
required: false
description: Set to `1` only by Waymark's own smoke/eval/build tooling so demand telemetry can separate internal probes from organic queries. Omit for normal use.
schema:
type: string
enum:
- '1'
- name: verified_only
in: query
required: false
description: 'Pro (prepaid credits): return only individually fact-checked (verification:''verified'') routes. Requires a Pro contributor key with credits>0, passed as `Authorization: Bearer wmk_…`, `x-api-key`, or `api_key` query param. 1 credit per served query; zero-result queries are free. Without entitlement the endpoint answers 402 with upgrade instructions. Normal queries (omit this) stay free and keyless.'
schema:
type: string
enum:
- '1'
- 'true'
responses:
'200':
description: Ranked routes (possibly empty on a low-confidence/no-match query). Zero-result responses additionally carry `note` and `request_route` — the paid path to commission a fact-checked route for the unmatched task. When routes ARE returned but none are independently verified and the best decayed trust is still near the neutral prior, the response additionally carries `verify_cta` — the $25 bounty to get a verified route for the caller's exact stack.
headers:
X-Search-Cache:
description: '`hit` if the retrieval result was served from edge cache, else `miss`.'
schema:
type: string
enum:
- hit
- miss
content:
application/json:
schema:
type: object
required:
- routes
properties:
routes:
type: array
items:
$ref: '#/components/schemas/RouteResult'
note:
type: string
description: 'Present only when `routes` is empty: why nothing was served (Waymark refuses low-confidence matches rather than guess).'
request_route:
type: object
description: 'Present only when `routes` is empty: how to commission a fact-checked route for this exact task ($25 bounty).'
properties:
what:
type: string
price_usd:
type: number
const: 25
url:
type: string
format: uri
checkout:
type: string
format: uri
verify_cta:
type: object
description: 'Present only when routes were returned but none are independently verified and top decayed trust < 0.7: the $25 bounty to commission a live-tested verified route for this exact task.'
properties:
what:
type: string
price_usd:
type: number
const: 25
url:
type: string
format: uri
checkout:
type: string
format: uri
'402':
description: verified_only was requested without a credited Pro key. Body explains how to upgrade (https://waymark.network/pricing); free keyless search remains available without verified_only.
content:
application/json:
schema:
type: object
properties:
routes:
type: array
maxItems: 0
error:
type: string
const: pro_required
detail:
type: string
how:
type: string
pricing:
type: string
format: uri
checkout:
type: string
format: uri
tags:
- Search
post:
operationId: searchPost
summary: Semantic route search (JSON body)
description: 'Same retrieval as `GET /search?q=` for callers that prefer to POST a body. Send `{"query":"…"}` (aliases: `q`, `task`). Zero-result responses carry the same `note` + `request_route` ($25 bounty) fields. `verified_only`/`probe` still go in the query string.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- query
properties:
query:
type: string
maxLength: 256
description: 'Natural-language task description. Aliases: `q`, `task`.'
responses:
'200':
description: Same shape as GET /search — ranked routes, or an empty list plus the $25 bounty CTA on a no-match query.
content:
application/json:
schema:
type: object
required:
- routes
properties:
routes:
type: array
items:
$ref: '#/components/schemas/RouteResult'
note:
type: string
request_route:
type: object
properties:
what:
type: string
price_usd:
type: number
const: 25
url:
type: string
format: uri
checkout:
type: string
format: uri
tags:
- Search
components:
schemas:
RouteResult:
type: object
description: A route as returned by /search (trimmed for ranking responses).
required:
- id
- task
- domain
- steps
- url
properties:
id:
type: string
format: uuid
task:
type: string
domain:
type: string
steps:
type: array
items:
type: string
gotchas:
type: array
items:
type: string
success:
type: integer
failure:
type: integer
verification:
$ref: '#/components/schemas/Verification'
url:
type: string
format: uri
Verification:
type: object
description: Provenance/fact-check axis — distinct from attestation consensus.
properties:
status:
type: string
example: sampled
method:
type: string
externalDocs:
description: Integration guide + MCP setup
url: https://waymark.network/docs