CommonsDB Developer PortalCommonsDB Developer PortalCommonsDB Developer Portal
  • Documentation
  • Declaration API
  • Metadata API
  • Search API
  • Status API
search
    Search declarations by ISCC codeget
Schemas
powered by Zudoku
Search Engine API

search

Endpoint:https://api.commonsdb.org

Search operations for finding declarations by ISCC


Search declarations by ISCC code

GET
https://api.commonsdb.org
/v1/search/{code}

Search for declarations using nearest neighbor search based on ISCC content hash. Returns declarations with similar content, filtered by a distance threshold. Results exclude redacted declarations and those older than the minimum declaration timestamp.

Search declarations by ISCC code › path Parameters

  • codestring · pattern: ^[A-Z0-9]{55}$ · required

    The ISCC code to search for (without 'ISCC:' prefix). Must be 55 alphanumeric characters.

Search declarations by ISCC code › Headers

  • Authorizationstring · required

    Bearer token for authentication (e.g., Bearer <your-api-key>)

Search declarations by ISCC code › Responses

Successful search operation

  • qstring

    The ISCC query that was searched (with ISCC: prefix)

  • hashBitsstring

    Binary representation of the content hash bits used for search

  • invalidCountinteger

    Number of results that were filtered out due to invalid data

  • versionstring

    API version

  • resultsobject[]

    Array of matching declarations sorted by similarity score (ascending)

GET /v1/search/{code}