Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/trooth-co:trooth-co-mobile-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: Trooth Public Mobile API
version: 1.1.0
summary: The read-only public surface of the Trooth Network.
description: 'Everything here answers a question about a software or AI company from published
evidence, and needs no credential. It is the surface a person, an integrator or an
authorized agent may build on.
WHAT IS DELIBERATELY ABSENT. Authentication flows are not documented: they are
browser redirects in a login sequence, not an API. Unauthenticated endpoints that
send mail or start work are rate limited and undocumented on purpose. Every
session-authenticated endpoint is absent because publishing an internal route map
helps an attacker and promises an API that is not offered.
EVIDENCE VOCABULARY. Responses distinguish witnessed, public record (wire value
`verified`), declared, inferred, unknown, not applicable, restricted, unavailable,
stale and conflicting. Unknown is an answer, never a blank
filled in, and stale is never the same as wrong. No response carries a figure, a
rank or a grade for a company: the witness facts are coverage (checks that read as
expected, out of checks run), freshness (last read), continuity (unbroken since) and change.
A 404 from these endpoints usually means the Network holds no record, which is an
answer rather than a failure.
CROSS-ORIGIN. Every operation here is readable from a browser on any site: responses
carry Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so
no cookie is sent or honored. A browser''s OPTIONS check before a request that sends
the Trooth-Contract, Trooth-Version or If-None-Match header is answered.
THREE DOCUMENTS, NO SHARED PATH. This one covers the public, credential-free reads
trooth.co serves under /api. The authenticated trooth.co API an agent works a
workspace with, every /api/v1 route, is https://trooth.co/openapi-v1.json. api.trooth.co is a separate
service with its own contract, https://trooth.co/openapi.yaml: its public reads under
/public (GET https://api.trooth.co/public/keys, the badge image, receipts and action
evidence) and its authenticated routes, which take a DPoP-bound credential (RFC 9449),
described there and at https://trooth.co/docs/api#authorization. Its MCP server at https://mcp.trooth.co
meters tools/call at 300 units every 60 seconds per caller (the OAuth
subject when a valid token is presented, otherwise the IP address), counted in one
store shared by every server instance; each tool call costs 1 to 8 units, as
https://trooth.co/.well-known/mcp.json lists. Over it: 429 with Retry-After giving the seconds
until units free up.
Generated from app/api by scripts/gen-openapi.mjs. check:openapi fails the build
when this document and the source disagree.'
contact:
name: Trooth developer support
email: developers@trooth.co
url: https://trooth.co/docs/api
license:
name: Terms of Service
url: https://trooth.co/terms
servers:
- url: https://trooth.co
description: Production
tags:
- name: Mobile
paths:
/api/mobile/directory/search:
get:
summary: Search the Trooth Network
description: 'Full-text search over published company listings. Returns the same companies the public directory shows. Prefer cursor pagination: pass the returned next_cursor back as cursor. Offset pagination still works and is kept for clients that already ship with it, but it is deprecated: it counts rows rather than naming a position, so a directory that grows between two requests can serve the same company twice and skip another without erroring. A response to an offset-paged request carries a Deprecation header and a Link header with rel="deprecation"; no withdrawal date is set, so no Sunset header is sent. A cursor that cannot be read returns 400 rather than an empty page. Cached at the edge for 60 seconds with a 300 second stale-while-revalidate window. BEST-EFFORT, MUTABLE ENUMERATION: there is no snapshot. Every page reads the live directory, and the cursor names a position in the sort order, not a point in time; it is not bound to a snapshot, an as-of time or an expiry. A company whose witnessed state changes between two pages can be missed or returned twice, so a walk is not a consistent full export. Drop repeats by slug and walk again to reconcile. The fact pages of /api/network/profile are a different mechanism: their cursor is bound to one record version. Readable cross-origin: the response carries Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so a browser on any site may read it without cookies.'
parameters:
- name: q
in: query
required: false
description: Search terms. Matched against company name and description.
schema:
type: string
- name: industry
in: query
required: false
description: Restrict to one industry.
schema:
type: string
- name: limit
in: query
required: false
description: Results per page. Clamped to 100; anything unreadable falls back to 25.
schema:
type: integer
- name: cursor
in: query
required: false
description: 'Opaque page marker. Use next_cursor from the previous response. Preferred over offset. It names a position in a live list, not a snapshot: it carries no as-of time and no expiry.'
schema:
type: string
- name: offset
in: query
required: false
description: Zero-based offset. Use next_offset from the previous response. Deprecated in favor of cursor; still answered, with a Deprecation header on the response.
schema:
type: integer
deprecated: true
operationId: get_api_mobile_directory_search
security: []
responses:
'200':
description: A page of results.
content:
application/json:
schema:
$ref: '#/components/schemas/DirectorySearch'
'400':
description: A cursor that cannot be read.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: The directory could not be read. Not a statement about any company.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Mobile
/api/mobile/directory/featured:
get:
summary: Companies with a witnessed record
description: 'The Trooth Network''s front page: published companies, those with a witnessed record first. Cached at the edge for 120 seconds. Readable cross-origin: the response carries Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so a browser on any site may read it without cookies.'
operationId: get_api_mobile_directory_featured
security: []
responses:
'200':
description: Published companies.
content:
application/json:
schema:
$ref: '#/components/schemas/DirectoryFeatured'
'503':
description: The directory could not be read.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Mobile
/api/mobile/directory/vendor/{slug}:
get:
summary: One company record
description: 'A published company profile, and its live witnessed state where Trooth has witnessed the company. A slug of the form d--example.com resolves a witnessed company that has not yet published a rich profile. Cached at the edge for 120 seconds. Readable cross-origin: the response carries Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so a browser on any site may read it without cookies.'
parameters:
- name: slug
in: path
required: true
description: Company slug, or d--<domain>.
schema:
type: string
operationId: get_api_mobile_directory_vendor_slug_
security: []
responses:
'200':
description: The company record.
content:
application/json:
schema:
$ref: '#/components/schemas/DirectoryVendor'
'404':
description: The company is not on the Trooth Network.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: The record could not be read. Not a statement about the company.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Mobile
components:
schemas:
DirectorySummary:
type: object
required:
- slug
- name
- standing
properties:
slug:
type: string
name:
type: string
standing:
enum:
- Witnessed
- Self-published
industry:
type: string
country_code:
type: string
tagline:
type: string
last_scan:
type: string
description: The date of the last witnessed reading, when there is one.
DirectoryVendor:
type: object
required:
- slug
- name
- standing
description: A DirectorySummary with the published profile's sections. Fields beyond these are additive.
properties:
slug:
type: string
name:
type: string
standing:
enum:
- Witnessed
- Self-published
tagline:
type: string
last_scan:
type: string
DirectoryFeatured:
type: object
required:
- results
properties:
results:
type: array
items:
$ref: '#/components/schemas/DirectorySummary'
ProblemDetails:
type: object
description: RFC 9457 problem details, the body of every error. A route that answered errors with a JSON body of its own before 2026-11-05 (error, message, found and the rest) keeps those members, with their values, beside these. Unknown members must be ignored (RFC 9457 section 3.2).
required:
- type
- title
- status
- code
- request_id
- retryable
- next_action
- fix
properties:
type:
type: string
description: A URI, stable per code; resolves to the code's entry at https://trooth.co/docs/api#problem-<code>.
title:
type: string
description: Fixed per type.
status:
type: integer
detail:
type: string
description: This occurrence, in words. Never a stack, a path or a credential.
instance:
type: string
description: urn:trooth:request:<request_id>
code:
type: string
description: The stable machine code, one of those listed at https://trooth.co/docs/api#errors.
request_id:
type: string
description: The same value as the X-Request-Id response header.
retryable:
type: boolean
retry_after:
type: integer
description: Seconds, the same number as Retry-After. Present only when a wait is known.
retry_at:
type: string
description: The time retry_after names, as an RFC 3339 date-time.
next_action:
type: string
enum:
- retry_later
- fix_request
- start_over
- resync
- use_current_record
- none
- authenticate
- ask_owner
- prove_domain
- contact_support
description: What to do next, one word a client can switch on.
fix:
type: string
description: One sentence on how to repair the request.
errors:
type: array
items:
type: object
properties:
pointer:
type: string
parameter:
type: string
detail:
type: string
error:
type:
- object
- string
description: 'On a route that sent a string error before 2026-11-05, that string, kept. Otherwise the one public error shape of the read routes (lib/network-http/errors.ts): code is one of five, message is detail, retry_after_seconds equals Retry-After when a wait is known.'
required:
- code
- message
properties:
code:
type: string
enum:
- not_found
- ambiguous
- invalid_input
- rate_limited
- upstream_timeout
message:
type: string
retry_after_seconds:
type: integer
minimum: 1
DirectorySearch:
type: object
required:
- results
- total
- next_offset
- next_cursor
properties:
results:
type: array
items:
$ref: '#/components/schemas/DirectorySummary'
total:
type: integer
minimum: 0
next_offset:
type:
- integer
- 'null'
deprecated: true
next_cursor:
type:
- string
- 'null'
error:
type: string
externalDocs:
url: https://trooth.co/openapi.yaml
description: The api.trooth.co contract (its /public reads and its authenticated routes); this document shares no path with it
x-related-documents:
- url: https://trooth.co/openapi.yaml
covers: api.trooth.co
- url: https://trooth.co/openapi-v1.json
covers: trooth.co /api/v1, with an agent key or the MCP sign-in
- url: https://trooth.co/openapi/network.json
covers: every Trooth Network MCP tool as POST https://api.trooth.co/v1/tools/{tool}, with x-trooth
- url: https://trooth.co/openapi/semanto.json
covers: Semanto's routes on api.trooth.co, each with its MCP tool and CLI command in x-trooth
x-counts:
paths: 13
operations: 13