Stonewake Citations API
The Citations API from Stonewake — 1 operation(s) for citations.
The Citations API from Stonewake — 1 operation(s) for citations.
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-citations-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 Citations 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: Citations
paths:
/v1/citations/resolve:
post:
tags:
- Citations
summary: Resolve Citations
description: 'Batch citation resolution: up to 100 ids per family resolve to their evidence lines in one call. POST carries the id lists as request data; the semantics are a pure, idempotent READ - nothing is created, changed, or enqueued. Unknown ids and ids this surface may not serve answer an explicit null.'
operationId: resolve_citations_v1_citations_resolve_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CitationResolveIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/V1CitationResolveOut'
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 Resolve Citations V1 Citations Resolve Post
'413':
description: The request body is too large, code content_too_large. This refusal can arrive without a body.
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
'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.
ResolvedScreeningOut:
properties:
assessment_id:
type: integer
title: Assessment Id
description: The assessment's id.
screening_id:
type: integer
title: Screening Id
description: The screening it belongs to.
category:
type: string
title: Category
description: The screening category.
verdict:
type: string
title: Verdict
description: The category's verdict.
reviewed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Reviewed At
description: When an analyst reviewed the verdict, null before a review.
screening_status:
type: string
title: Screening Status
description: The screening's status.
completed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Completed At
description: When the screening completed, null until then.
type: object
required:
- assessment_id
- screening_id
- category
- verdict
- reviewed_at
- screening_status
- completed_at
title: ResolvedScreeningOut
description: 'One confirmed screening verdict with its screening''s id/status/date: enough
for the drawer to state the line and deep-link the in-app screening page.'
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
ResolvedRecordOut:
properties:
record_id:
type: integer
title: Record Id
description: The record's id.
connector_id:
type: string
title: Connector Id
description: The source the record was read from, such as handelsregister_de for the German commercial register.
register:
type: string
title: Register
description: The register's name in words.
record_type:
type: string
title: Record Type
description: The kind of record within its register.
external_id:
type: string
title: External Id
description: The record's own id in its register.
source_url:
type: string
title: Source Url
description: The register's address for the record.
retrieved_at:
type: string
format: date-time
title: Retrieved At
description: When the record was first read.
as_of:
anyOf:
- type: string
format: date-time
- type: 'null'
title: As Of
description: The date the register states the record for, null when it states none.
verify_status:
anyOf:
- type: string
- type: 'null'
title: Verify Status
description: The outcome of the latest check of the record against its source, ok, gone or unreadable, null when no check has been recorded.
locator:
anyOf:
- type: string
- type: 'null'
title: Locator
description: The coordinates to search the record by, as text, where source_url can only open a search form, null where the link opens the record.
notice:
anyOf:
- type: string
- type: 'null'
title: Notice
description: A text to show with the record wherever it is displayed or quoted onward, null for every source whose terms require none.
deep_link:
anyOf:
- type: string
- type: 'null'
title: Deep Link
description: The dashboard path that opens the register's own page where the register keeps no link per record, null elsewhere.
published_fields:
items:
$ref: '#/components/schemas/PublishedFieldOut'
type: array
title: Published Fields
description: For an official sanctions list's entry of an organization, a vessel or an aircraft, every field the list publishes on it, empty for every other record.
published_note:
anyOf:
- type: string
- type: 'null'
title: Published Note
description: One sentence where the families that can state a natural person were withheld, null otherwise.
link_opens:
anyOf:
- type: string
enum:
- start_page
- search_page
- type: 'null'
title: Link Opens
description: What source_url opens where it cannot open the record itself, start_page or search_page, null where it opens the record.
search_values:
items:
$ref: '#/components/schemas/SearchValueOut'
type: array
title: Search Values
description: Where source_url opens only a portal's start or search page, the values to enter in its search, each with field and value, empty elsewhere.
published_text:
anyOf:
- type: string
- type: 'null'
title: Published Text
description: For a notice whose link cannot open it, the notice's text exactly as it was read and stored, null unless published_text_status is shown.
published_text_status:
anyOf:
- type: string
enum:
- shown
- not_stored
- withheld
- expired
- type: 'null'
title: Published Text Status
description: For a source that publishes notices, shown, not_stored where no text was stored, withheld where the text names a natural person and your workspace's person data is off, the notice concerns a natural person or states no day of publication, or expired where the notice is 180 days old or older; null for other sources.
type: object
required:
- record_id
- connector_id
- register
- record_type
- external_id
- source_url
- retrieved_at
- as_of
- verify_status
title: ResolvedRecordOut
description: 'A record as citation, plus, for an official sanctions list''s entity,
vessel or aircraft designation only, every field the list publishes on that
entry (path and value, the list''s own order): the entry is the evidence, and
the register, external id and source link above name its list, its reference
and the official file. The families that can state a natural person ride only
where the person data gate is open, and `published_note` says so where any
were held back. Empty for every other record. A person designation never
resolves at all (_resolved_records). Where the stored link opens only a portal''s
start or search page, how to check the record there, what the link opens, the
values its search takes, and a notice''s stored text or why none is shown.'
CitationResolveIn:
properties:
record_ids:
items:
type: integer
type: array
maxItems: 100
title: Record Ids
description: Record ids to resolve, at most 100.
event_ids:
items:
type: integer
type: array
maxItems: 100
title: Event Ids
description: Event ids to resolve, at most 100.
assessment_ids:
items:
type: integer
type: array
maxItems: 100
title: Assessment Ids
description: Screening assessment ids to resolve, at most 100.
additionalProperties: false
type: object
title: CitationResolveIn
V1CitationResolveOut:
properties:
records:
additionalProperties:
anyOf:
- $ref: '#/components/schemas/ResolvedRecordOut'
- type: 'null'
type: object
title: Records
description: Each requested record id with its resolved evidence line, or null when it is unknown or may not be served to you, which read the same.
events:
additionalProperties:
anyOf:
- $ref: '#/components/schemas/ResolvedEventOut'
- type: 'null'
type: object
title: Events
description: Each requested event id with its resolved event and headline, or null when it is unknown or may not be served to you.
assessments:
additionalProperties:
anyOf:
- $ref: '#/components/schemas/ResolvedScreeningOut'
- type: 'null'
type: object
title: Assessments
description: Each requested assessment id with its resolved screening assessment, or null when it is unknown or may not be served to you.
entries:
items:
$ref: '#/components/schemas/CitationEntryOut'
type: array
title: Entries
description: One entry per publication, a requested record joined with the requested events it minted, in the order requested.
type: object
required:
- records
- events
- assessments
title: V1CitationResolveOut
description: 'Every REQUESTED id answers: a resolution, or an explicit null (unknown,
foreign-tenant, and gated person ids are indistinguishable by design).'
ResolvedEventOut:
properties:
event_id:
type: integer
title: Event Id
description: The event's id.
event_type:
type: string
title: Event Type
description: The kind of register event, such as new_filing or status_changed.
headline:
type: string
title: Headline
description: The sentence the event feed shows for the event.
occurred_at:
type: string
format: date-time
title: Occurred At
description: When the event happened, as the register states it.
node_label:
type: string
title: Node Label
description: The name of the node the event concerns.
record:
anyOf:
- $ref: '#/components/schemas/ResolvedRecordOut'
- type: 'null'
description: The record that evidences the event, null where the evidence is a record's absence.
filing_url:
anyOf:
- type: string
- type: 'null'
title: Filing Url
description: The address of the filing the register states for the event, null when it states none.
type: object
required:
- event_id
- event_type
- headline
- occurred_at
- node_label
- record
- filing_url
title: ResolvedEventOut
description: One register event as evidence, its type, the headline the event feed shows for it, the node it concerns and the record that evidences it.
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.'
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
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.'
SearchValueOut:
properties:
field:
type: string
enum:
- court
- case
- published
- register_court
- register
- filed
title: Field
description: The search field, court, case, published, register_court, register or filed.
value:
type: string
title: Value
description: The value as the register states it, a day as 28.07.2026.
type: object
required:
- field
- value
title: SearchValueOut
description: One value to enter in the portal's search, as the register states it.
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.'
PublishedFieldOut:
properties:
path:
type: string
title: Path
description: Where on the entry the list states the field, in the list's own element and attribute names.
value:
type: string
title: Value
description: The field's value, verbatim.
type: object
required:
- path
- value
title: PublishedFieldOut
description: 'One field the list publishes on an entity, vessel or aircraft entry,
verbatim: path names where on the entry the list states it, in the list''s own
element and attribute names, and value what it states.'
CitationEntryOut:
properties:
record_id:
anyOf:
- type: integer
- type: 'null'
title: Record Id
description: The publication's record, requested or the record of its events, null for an event without one.
event_ids:
items:
type: integer
type: array
title: Event Ids
description: The requested events this publication minted, in the order requested.
type: object
required:
- record_id
title: CitationEntryOut
description: 'One publication as the list shows it: its record (cited, or the lineage of its
events; null for an event without one) and the cited events it minted, in their
cited order. Ids index the response''s records and events maps; a lineage record
that was not cited itself rides on its events'' record.'
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.