CrawlCheck Observe API

The Observe API from CrawlCheck — 2 operation(s) for observe.

GitHub OpenAPI

Operations 4

POST /api/observe/enroll Enrol an independent observer (open observer protocol v1): an Ed25519 key, an… #
POST /api/observe/check Run the Worker's own checks on an observation or enrolment without storing it… #
POST /api/observe/retire Retire an enrolled observer with its own key: {request: {kind… #
GET /api/observe/cosig Every independent co-signature of one MCP change event (?event=), each with its… #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/crawlcheck-io:crawlcheck-io-observe-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

crawlcheck-io-observe-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crawlcheck Io Observe API
  version: '1'
  contact:
    name: CrawlCheck
    url: https://crawlcheck.io/policy
    email: hello@crawlcheck.io
  license:
    name: Terms
    url: https://crawlcheck.io/policy
  x-core-contract:
    promise: 'These operations are the core contract. They stay at /api/v1 and keep answering for at least 180 days after any /api/v2 is announced; their stable fields change only in a new major version, and their provisional fields only after 30 days'' notice, per /docs/api/compatibility. Verifying what they return needs none of these calls: crawlcheck-verify.mjs checks a document on your machine against the published keys (/.well-known/http-message-signatures-directory) and the rotation record, read once with --online or saved for --keys. Everything else documented here is useful but secondary, and may change with the notice its fields'' tags promise.'
    operations:
    - method: GET
      path: /api/v1/resolve
      operationId: resolveDomainV1
    - method: POST
      path: /api/v1/resolve
      operationId: resolveBatchV1
    - method: POST
      path: /api/v1/preflight
      operationId: preflightV1
    - method: GET
      path: /api/v1/decisions/{sha256}
      operationId: decisionCheckV1
    - method: GET
      path: /api/v1/revocations
      operationId: revocations
    - method: GET
      path: /api/v1/visitor
      operationId: visitorResolveV1
    - method: POST
      path: /api/v1/visitor
      operationId: visitorResolveBatchV1
    - method: GET
      path: /api/v1/mcp/scan
      operationId: mcpScanUrl
    - method: POST
      path: /api/v1/mcp/lock/check
      operationId: mcpLockCheck
    list: https://crawlcheck.io/api/v1/core
  description: 'Operations tagged Observe across 2 of this provider''s published API definitions: crawlcheck-io-openapi.json, crawlcheck-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://crawlcheck.io
tags:
- name: Observe
paths:
  /api/observe/enroll:
    post:
      operationId: enrolObserver
      summary: 'Enrol an independent observer (open observer protocol v1): an Ed25519 key, an…'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - request
              - sig
              properties:
                request:
                  type: object
                sig:
                  type: string
      responses:
        '200':
          description: enrolled (or already enrolled with this key)
        '400':
          description: OK
          content:
            application/json:
              examples:
                worked:
                  summary: Captured from production on 2026-10-02; an unsigned body is refused before anything is stored; a signed enrolment (spec and fixtures at /docs/observer-protocol) answers 200 with observer_id, kid and network.
                  value:
                    ok: false
                    error: request.kind must be crawlcheck-observer-enrolment, v 1
                    trace_id: 2eec10b32826dec5dc54de84871aef3f
                    span_id: b7101d6ff1558742
              schema:
                type:
                - object
                - 'null'
                properties:
                  ok:
                    type:
                    - boolean
                    - 'null'
                  error:
                    type:
                    - string
                    - 'null'
                  trace_id:
                    type:
                    - string
                    - 'null'
                  span_id:
                    type:
                    - string
                    - 'null'
                additionalProperties: true
                x-schema-source: worked-example
        '403':
          description: the signature does not prove the key
        '409':
          description: the id is bound to another key
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl -s -X POST \\\n  -H \"content-type: application/json\" \\\n  -d '{\"observer_id\":\"ind:example\"}' \\\n  'https://crawlcheck.io/api/observe/enroll'"
      security: []
      x-auth: public; no credential read
      x-crawlcheck-budget:
        request_body_max: 1048576
      tags:
      - Observe
    servers:
    - url: https://crawlcheck.io
  /api/observe/check:
    post:
      operationId: checkObservation
      summary: Run the Worker's own checks on an observation or enrolment without storing it…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: shape, key_matches_directory, signature, ok
          content:
            application/json:
              examples:
                worked:
                  summary: Captured from production on 2026-10-02; nothing is stored; each check names what failed.
                  value:
                    kind: crawlcheck-observer-check
                    type: observation
                    stored: false
                    checked_against: no directory entry
                    shape: false
                    key_matches_directory: null
                    signature: null
                    ok: false
              schema:
                type:
                - object
                - 'null'
                properties:
                  kind:
                    type:
                    - string
                    - 'null'
                  type:
                    type:
                    - string
                    - 'null'
                  stored:
                    type:
                    - boolean
                    - 'null'
                  checked_against:
                    type:
                    - string
                    - 'null'
                  shape:
                    type:
                    - boolean
                    - 'null'
                  key_matches_directory: {}
                  signature: {}
                  ok:
                    type:
                    - boolean
                    - 'null'
                additionalProperties: true
                x-schema-source: worked-example
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl -s -X POST \\\n  -H \"content-type: application/json\" \\\n  -d '{\"observer_id\":\"ind:example\"}' \\\n  'https://crawlcheck.io/api/observe/check'"
      security: []
      x-auth: public; no credential read
      x-crawlcheck-budget:
        request_body_max: 1048576
      tags:
      - Observe
    servers:
    - url: https://crawlcheck.io
  /api/observe/retire:
    post:
      operationId: retireObserver
      summary: 'Retire an enrolled observer with its own key: {request: {kind…'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - request
              - sig
              properties:
                request:
                  type: object
                sig:
                  type: string
            examples:
              worked:
                summary: The request behind the worked response
                value:
                  request:
                    kind: crawlcheck-observer-retirement
                    v: 1
                    observer_id: ind:example
                    requested_at: '2026-11-07T18:00:00.000Z'
                    reason: moving networks
                  sig: …
      responses:
        '200':
          description: retired
        '403':
          description: not signed by the enrolled key
          content:
            application/json:
              examples:
                worked:
                  summary: A retirement not signed by the enrolled key is refused; a signed one answers 200 with the retirement record.
                  value:
                    ok: false
                    error: the retirement is not signed by the enrolled key
              schema:
                type:
                - object
                - 'null'
                properties:
                  ok:
                    type:
                    - boolean
                    - 'null'
                  error:
                    type:
                    - string
                    - 'null'
                additionalProperties: true
                x-schema-source: worked-example
        '404':
          description: not enrolled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "node observer.mjs retire --reason \"moving networks\"\n# or by hand:\ncurl -s -X POST https://crawlcheck.io/api/observe/retire \\\n  -H \"content-type: application/json\" \\\n  -d '{\"request\":{\"kind\":\"crawlcheck-observer-retirement\",\"v\":1,\"observer_id\":\"ind:example\",\"requested_at\":\"2026-11-07T18:00:00.000Z\"},\"sig\":\"…\"}'"
      security: []
      x-auth: public; no credential read
      x-crawlcheck-budget:
        request_body_max: 1048576
      description: 'Retire an enrolled observer with its own key: {request: {kind: crawlcheck-observer-retirement, v: 1, observer_id, requested_at, reason}, sig} signed over crawlcheck-observer-retire-v1 + newline + canonical JSON of request. It stops receiving tasks and its co-signatures stop counting; its readings stay listed'
      tags:
      - Observe
    servers:
    - url: https://crawlcheck.io
  /api/observe/cosig:
    get:
      operationId: mcpCosignatures
      summary: Every independent co-signature of one MCP change event (?event=), each with its…
      parameters:
      - name: event
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: crawlcheck-mcp-cosignatures
          content:
            application/json:
              examples:
                worked:
                  summary: Shape of the answer; values are not a measurement.
                  value:
                    kind: crawlcheck-mcp-cosignatures
                    v: 1
                    event_id: 7f3a9c12e0b44d51a6c2f801
                    count: 1
                    cosignatures:
                    - status: active
                      kind: crawlcheck-mcp-cosignature
                      event_id: 7f3a9c12e0b44d51a6c2f801
                      server: net.example/files
                      url: https://mcp.example.net/mcp
                      recorded_digest: 9a02…
                      agrees: true
                      envelope:
                        v: 1
                        kind: crawlcheck-mcp-tools-observation
                        observer_id: ind:example
                        observed_at: '2026-11-07T14:02:11.000Z'
                        task:
                          task_id: m1:…
                          event_id: 7f3a9c12e0b44d51a6c2f801
                          url: https://mcp.example.net/mcp
                        result:
                          outcome: initialized
                          tools: 5
                          tools_sha256: 9a02…
                          tool_hashes:
                          - name: search
                            sha256: …
                        key:
                          kty: OKP
                          crv: Ed25519
                          x: …
                      sig: …
                      sig_prefix: 'crawlcheck-mcp-cosign-v1

                        '
                      envelope_sha256: …
                      arrived_from:
                        asn: 64496
                        as_org: Example University
                        country: ZZ
                    directory: https://crawlcheck.io/.well-known/crawlcheck-observers.json
                    protocol: https://crawlcheck.io/docs/observer-protocol#cosign
              schema:
                type:
                - object
                - 'null'
                properties:
                  kind:
                    type:
                    - string
                    - 'null'
                  v:
                    type:
                    - number
                    - 'null'
                  event_id:
                    type:
                    - string
                    - 'null'
                  count:
                    type:
                    - number
                    - 'null'
                  cosignatures:
                    type:
                    - array
                    - 'null'
                    items:
                      type:
                      - object
                      - 'null'
                      properties:
                        status:
                          type:
                          - string
                          - 'null'
                        kind:
                          type:
                          - string
                          - 'null'
                        event_id:
                          type:
                          - string
                          - 'null'
                        server:
                          type:
                          - string
                          - 'null'
                        url:
                          type:
                          - string
                          - 'null'
                        recorded_digest: {}
                        agrees:
                          type:
                          - boolean
                          - 'null'
                        envelope:
                          type:
                          - object
                          - 'null'
                          properties:
                            v:
                              type:
                              - number
                              - 'null'
                            kind:
                              type:
                              - string
                              - 'null'
                            observer_id:
                              type:
                              - string
                              - 'null'
                            observed_at:
                              type:
                              - string
                              - 'null'
                            task:
                              type:
                              - object
                              - 'null'
                              properties:
                                task_id: {}
                                event_id:
                                  type:
                                  - string
                                  - 'null'
                                url:
                                  type:
                                  - string
                                  - 'null'
                              additionalProperties: true
                            result:
                              type:
                              - object
                              - 'null'
                              properties:
                                outcome:
                                  type:
                                  - string
                                  - 'null'
                                tools:
                                  type:
                                  - number
                                  - 'null'
                                tools_sha256: {}
                                tool_hashes:
                                  type:
                                  - array
                                  - 'null'
                                  items:
                                    type:
                                    - object
                                    - 'null'
                                    properties:
                                      name:
                                        type:
                                        - string
                                        - 'null'
                                      sha256: {}
                                    additionalProperties: true
                              additionalProperties: true
                            key:
                              type:
                              - object
                              - 'null'
                              properties:
                                kty:
                                  type:
                                  - string
                                  - 'null'
                                crv:
                                  type:
                                  - string
                                  - 'null'
                                x: {}
                              additionalProperties: true
                          additionalProperties: true
                        sig: {}
                        sig_prefix:
                          type:
                          - string
                          - 'null'
                        envelope_sha256: {}
                        arrived_from:
                          type:
                          - object
                          - 'null'
                          properties:
                            asn:
                              type:
                              - number
                              - 'null'
                            as_org:
                              type:
                              - string
                              - 'null'
                            country:
                              type:
                              - string
                              - 'null'
                          additionalProperties: true
                      additionalProperties: true
                  directory:
                    type:
                    - string
                    - 'null'
                  protocol:
                    type:
                    - string
                    - 'null'
                additionalProperties: true
                x-schema-source: worked-example
        '400':
          description: no event id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-codeSamples:
      - lang: Shell
        label: curl
        source: curl -s 'https://crawlcheck.io/api/observe/cosig?event=7f3a9c12e0b44d51a6c2f801'
      security: []
      x-auth: public; no credential read
      description: Every independent co-signature of one MCP change event (?event=), each with its signed envelope, the network it arrived from and how to verify it
      tags:
      - Observe
    servers:
    - url: https://crawlcheck.io
components:
  schemas:
    Error:
      type: object
      description: 'Every error answer is JSON carrying error (a message, or an object with code and message) or errors (a list of messages). Most also carry error_code (stable), retryable, trace_id, span_id and docs. Codes and rules: /spec/considerations.'
      anyOf:
      - required:
        - error
      - required:
        - errors
      properties:
        ok:
          type: boolean
        error:
          anyOf:
          - type: string
          - type: object
            properties:
              code:
                type: string
              message:
                type: string
              status:
                type: integer
        errors:
          type: array
          items: {}
        error_code:
          type: string
        retryable:
          type: boolean
        trace_id:
          type: string
        span_id:
          type: string
        docs:
          type: string
      additionalProperties: true
  securitySchemes:
    licenceKey:
      type: apiKey
      in: header
      name: x-crawlcheck-key
      description: 'Your licence key: cc_ followed by 32 hex characters. Sent on every keyed call.'
    bearer:
      type: http
      scheme: bearer
      description: The same licence key as a Bearer token. Accepted on /api/v1/* and /api/usage.
externalDocs:
  url: https://crawlcheck.io/docs/api
  description: Human-readable reference
x-refined-from:
- crawlcheck-io-openapi.json
- crawlcheck-io-openapi.yml