Stonewake Search API
The Search API from Stonewake — 1 operation(s) for search.
The Search API from Stonewake — 1 operation(s) 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/stonewake-ai:stonewake-ai-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: Stonewake Search API
description: 'Read-only API for Stonewake credit monitoring, entity risk, and country intelligence. Documentation and setup guides: https://docs.stonewake.ai. Access is arranged per customer workspace.'
termsOfService: https://stonewake.ai/terms
contact:
name: Stonewake
url: https://stonewake.ai/contact
email: contact@stonewake.ai
license:
name: Proprietary
url: https://stonewake.ai/terms
version: 1.0.0
servers:
- url: https://api.stonewake.ai
description: Production
tags:
- name: Search
paths:
/v1/search:
get:
tags:
- Search
summary: Search
description: Find a company by name or identifier ("lei:5493...", or bare as its page shows it, such as an LEI, ISIN, BIC or register number, with or without the separators its country writes, a German register entry with its court first or last), or by name, an exact name first, then a name that begins with the text, one that holds every word, one with one typo per word and a near spelling. A name matches across its spellings, umlauts written out or not, a hyphen or a space between two words, and &, und, and or + between two words. A well known short name or acronym such as VW or Haspa seats its legal entity first. q takes 2 to 256 characters, and a shorter or longer one answers 422 naming q. A name of fewer than 3 characters finds nothing, an empty list and no error, unless the whole query is such a short name. A page holds up to limit companies, at most 25, limit counting companies and never the persons that follow them. Where the workspace's person data is switched on, natural persons named in the registers are found too, after every company, never scored. home=DEU seats the companies of Germany first inside each text band, as the dashboard does on a German page, and a German register number is also found in the spellings sources store, with leading zeros or a court's series letters. A register number no company holds answers no hits, never a name match on its letters.
operationId: search_v1_search_get
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 2
maxLength: 256
title: Q
description: The name or identifier to find, 2 to 256 characters. A shorter or longer one answers 422 naming q.
- name: limit
in: query
required: false
schema:
type: integer
maximum: 25
minimum: 1
default: 10
title: Limit
description: The most companies the page holds, 1 to 25, 10 unless stated.
- name: home
in: query
required: false
schema:
anyOf:
- const: DEU
type: string
- type: 'null'
description: The home market of the reader, DEU for a German reader. Inside each text band the companies of that market come first, the exact and the prefix band read as one. Without it the order is the same for every reader.
title: Home
description: The home market of the reader, DEU for a German reader. Inside each text band the companies of that market come first, the exact and the prefix band read as one. Without it the order is the same for every reader.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/V1SearchOut'
headers:
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
'401':
description: The credential was missing or not accepted, code unauthenticated. The body is the same for every cause.
content:
application/json:
schema:
$ref: '#/components/schemas/V1ErrorOut'
headers:
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
'403':
description: The credential or the workspace does not allow this request, code forbidden.
content:
application/json:
schema:
$ref: '#/components/schemas/V1ErrorOut'
headers:
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
'429':
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
required: true
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
description: A traffic ceiling was reached, code rate_limited or daily_quota_exceeded. Retry after the seconds in Retry-After.
content:
application/json:
schema:
$ref: '#/components/schemas/V1RetryErrorOut'
'503':
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
description: The request could not be served safely, code quota_unavailable, server_busy or service_unavailable. Retry after the seconds in Retry-After where it is sent, otherwise with backoff. A service_unavailable 503 also carries detail.
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/V1ErrorOut'
- $ref: '#/components/schemas/V1RetryErrorOut'
- $ref: '#/components/schemas/V1DetailOut'
title: Response 503 Search V1 Search Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
headers:
RateLimit-Policy:
description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
required: true
schema:
type: string
security:
- bearerAuth: []
components:
schemas:
V1RetryErrorBodyOut:
properties:
code:
type: string
title: Code
description: rate_limited or daily_quota_exceeded on a 429, server_busy on a 503.
message:
type: string
title: Message
description: Plain text, one fixed message per code. docs.stonewake.ai/errors lists it.
retry_after_seconds:
type: integer
title: Retry After Seconds
description: Seconds to wait before the next request, equal to the Retry-After header.
type: object
required:
- code
- message
- retry_after_seconds
title: V1RetryErrorBodyOut
description: A refusal that names when to retry, a traffic ceiling or server_busy.
V1DetailOut:
properties:
error:
$ref: '#/components/schemas/V1ErrorBodyOut'
description: The refusal, its code service_unavailable and that code's fixed message.
detail:
type: string
title: Detail
description: Why the request could not be served, in one plain sentence. Retry with backoff.
type: object
required:
- error
- detail
title: V1DetailOut
description: A 503 that names no code of its own, so it carries the envelope code service_unavailable beside its detail. Retry with backoff.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
description: Where the failure is, the part of the request (path, query or body) and then the parameter or field.
msg:
type: string
title: Message
description: What failed, in one plain sentence. For an unknown query parameter it names the parameters the endpoint reads.
type:
type: string
title: Error Type
description: The kind of failure, such as missing, value_error, extra_forbidden for a query parameter the endpoint does not read, literal_error for a closed value outside its list, finite_number for a number that is not finite, such as 1e400, inf or nan, timezone_aware for a date and time without a UTC offset, or too_many_errors for the entry that counts the entries beyond the first 10.
type: object
required:
- loc
- msg
- type
title: ValidationError
V1ErrorBodyOut:
properties:
code:
type: string
title: Code
description: A stable code, today one of unauthenticated (401), forbidden (403), not_found (404), method_not_allowed (405, a method the path does not serve, so no operation declares it), content_too_large (413), validation_failed (422), rate_limited and daily_quota_exceeded (429), internal_error (500), quota_unavailable, server_busy and service_unavailable (503). New codes may be added over time.
message:
type: string
title: Message
description: Plain text, one fixed message per code, except quota_unavailable, whose message names which of its two counts could not be verified. docs.stonewake.ai/errors lists every message.
type: object
required:
- code
- message
title: V1ErrorBodyOut
description: 'One refusal. Branch on code, never on message. Codes are stable, and new
codes may be added over time.'
AlsoListedOut:
properties:
register:
type: string
enum:
- us_fed
- us_sec
- uk_companies_house
- de_energy
- sk_rpvs
- unsourced
title: Register
description: 'The register that lists it: us_fed (the US Federal Reserve''s entity file), us_sec (a US SEC listing), uk_companies_house (a UK registration of a foreign company), de_energy (the German energy register), sk_rpvs (the Slovak public partner register) or unsourced (a row no identifier and no record backs).'
node_id:
type: integer
title: Node Id
description: The folded row's own graph node id.
type: object
required:
- register
- node_id
title: AlsoListedOut
description: A second row of this company that a satellite register keeps, folded under it.
V1IdentifierOut:
properties:
scheme:
type: string
title: Scheme
description: The identifier's scheme, for example lei for a Legal Entity Identifier, or ra_ra and six digits for a registration authority number GLEIF states, such as ra_ra000406.
value:
type: string
title: Value
description: The identifier as the register states it.
type: object
required:
- scheme
- value
title: V1IdentifierOut
description: 'One register identifier: the citation-grade identity anchor.'
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
maxItems: 11
description: At most 10 entries, in the order the request was checked. When there are more, one further entry of type too_many_errors with an empty loc counts them in its msg. A loc part longer than 64 bytes and a msg longer than 2,048 bytes are cut and end in ...
error:
type: object
title: Error
description: The refusal envelope, code validation_failed.
properties:
code:
type: string
description: validation_failed on every 422.
message:
type: string
description: The fixed message of the code, never a value sent.
required:
- code
- message
type: object
title: HTTPValidationError
required:
- error
V1SearchOut:
properties:
query:
type: string
title: Query
description: The query as it was read.
hits:
items:
$ref: '#/components/schemas/V1SearchHitOut'
type: array
title: Hits
description: The hits in rank order, every company before any person.
connected_sources:
items:
type: string
type: array
title: Connected Sources
description: Every source whose companies the search reads, and where person data is switched on every source whose persons it reads, whole and never cut.
close_names_checked:
type: boolean
title: Close Names Checked
description: False when the search of near spellings (one typo per word, a near spelling) was cut at its time budget, so a company spelt close to the query may be missing. The same query a moment later usually checks them. True otherwise, also when no such search was needed.
default: true
truncated:
type: boolean
title: Truncated
description: True when the answer filled limit, so more hits may exist. A search ranks fuzzy name matches and cannot count them, so it states this instead of a total.
default: false
type: object
required:
- query
- hits
- connected_sources
title: V1SearchOut
V1SearchHitOut:
properties:
node_id:
type: integer
title: Node Id
description: The hit's node id, which every /v1/nodes route speaks.
node_type:
type: string
title: Node Type
description: company or person.
label:
type: string
title: Label
description: The hit's name.
match:
type: string
title: Match
description: identifier when an identifier found the hit, name when its name did.
score:
anyOf:
- type: number
- type: 'null'
title: Score
description: The band of the hit's own text match, 1.0 exact, 0.95 prefix, 0.9 every word, 0.87 one typo per word, at most 0.85 a near spelling, null for an identifier hit and always for a person.
country_iso3:
anyOf:
- type: string
- type: 'null'
title: Country Iso3
description: The hit's country as an ISO 3166 alpha 3 code, null when unknown.
jurisdiction:
anyOf:
- type: string
- type: 'null'
title: Jurisdiction
description: The register jurisdiction as the register codes it, for example GB-EAW or DE-BY, null when unknown.
jurisdiction_label:
anyOf:
- type: string
- type: 'null'
title: Jurisdiction Label
description: The jurisdiction in English words, for example England and Wales or Bayern, Germany, never the code, null when unknown.
legal_form:
anyOf:
- type: string
- type: 'null'
title: Legal Form
description: The legal form as the register codes it, null when none is stated.
legal_form_label:
anyOf:
- type: string
- type: 'null'
title: Legal Form Label
description: The legal form in words, null when none is stated.
company_status:
anyOf:
- type: string
- type: 'null'
title: Company Status
description: The company's register status as one code of a closed list, the same on every node whatever register states it, namely active, active_proposal_to_strike_off, active_receiver_manager, registered, open, in_liquidation, in_administration, administration_order, in_administration_administrative_receiver, in_administration_receiver_manager, administrative_receiver, receiver_manager_administrative_receiver, receivership, voluntary_arrangement, voluntary_arrangement_administrative_receiver, voluntary_arrangement_receiver_manager, insolvency_proceedings, in_bankruptcy, inactive, dissolved, deleted, converted_closed, closed or unknown, unknown for a wording the list does not name, null when no register states a status.
company_status_label:
anyOf:
- type: string
- type: 'null'
title: Company Status Label
description: The status in English words, the register's own words for unknown, null when no register states a status.
company_status_source:
anyOf:
- type: string
- type: 'null'
title: Company Status Source
description: The register's own words for the status, whole, for example ACTIVE from GLEIF or aktuell from the Handelsregister, null when no register states a status.
company_status_current:
anyOf:
- type: boolean
- type: 'null'
title: Company Status Current
description: True when company_status states a company still current on its register, namely active, active_proposal_to_strike_off, active_receiver_manager, open or registered, false for every other code, unknown included, and false whenever company_status_confirmed is false, null when no register states a status.
company_status_confirmed:
anyOf:
- type: boolean
- type: 'null'
title: Company Status Confirmed
description: False when only a source that is no longer current states a current status, an LEI record whose registration status is not ISSUED, PENDING_TRANSFER or PENDING_ARCHIVAL, so the status is a past statement and company_status_label says whose and since when; true when a current source states it and for a code that is not current, which stands whatever its source, null when no register states a status.
registration_status:
anyOf:
- type: string
- type: 'null'
title: Registration Status
description: The status of the registration itself, null when none is stated.
stale:
type: boolean
title: Stale
description: True when the registration has lapsed.
branch:
type: boolean
title: Branch
description: True for a branch.
identifiers:
items:
$ref: '#/components/schemas/V1IdentifierOut'
type: array
title: Identifiers
description: The hit's register identifiers, at most 12.
identifiers_total:
type: integer
title: Identifiers Total
description: How many identifiers the node holds.
identifiers_truncated:
type: boolean
title: Identifiers Truncated
description: True when identifiers was cut.
also_listed:
items:
$ref: '#/components/schemas/AlsoListedOut'
type: array
title: Also Listed
description: Second rows of this company that a satellite register keeps (a US Federal Reserve or US SEC entry, a UK registration of a foreign company, an energy register operator row), folded under it so a company is one hit.
type: object
required:
- node_id
- node_type
- label
- match
- score
- country_iso3
- jurisdiction
- legal_form
- company_status
- registration_status
- stale
- branch
- identifiers
- identifiers_total
- identifiers_truncated
title: V1SearchHitOut
description: 'One hit, a company or (where the workspace''s person gate is open) a natural
person, as node_type says. `node_id` is the graph node id every other /v1 node
route speaks. score is a company''s name-match relevance band (1.0 exact, 0.95
prefix, 0.9 token, 0.87 one typo per word, fuzzy capped at 0.85); None on
identifier hits and on every
person hit, which is never scored. Exact ignores the
spelling of the legal form (AG equals Aktiengesellschaft) and also matches a
registered other name. Hits come in rank order, not always score order. The
leading legal entities a name stands for (well known companies whose name
equals, begins with or holds the typed words) come first, then every other hit
by score, the better known company first inside a band.
legal_form_label words an ELF code. stale=true marks a LAPSED registration,
never current reference data.'
V1ErrorOut:
properties:
error:
$ref: '#/components/schemas/V1ErrorBodyOut'
description: The refusal, with its stable code and message.
type: object
required:
- error
title: V1ErrorOut
description: 'The /v1 error envelope every 4xx refusal carries, except a 422 (its body names
the parameter) and a 413 that arrives without a body.'
V1RetryErrorOut:
properties:
error:
$ref: '#/components/schemas/V1RetryErrorBodyOut'
description: The refusal, with its stable code, its message and the seconds to wait.
type: object
required:
- error
title: V1RetryErrorOut
description: 'The envelope of a refusal that names when to retry: every 429 and a 503 server_busy
carry retry_after_seconds beside the Retry-After header.'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key (swk_live_ followed by 40 characters) on /v1, a workspace administrator's session token on /org/api-keys.