SourceFinch Records API

Current structured records

GitHub OpenAPI

Operations 3

GET /v1/sources/{source_id}/records Current records #
GET /v1/changes Change feed #
GET /v1/runs/{run_id}/export Export a validated run's records #

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/sourcefinch-com:sourcefinch-com-records-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

sourcefinch-com-records-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SourceFinch Records API
  version: 1.0.0
  description: 'Monitor public sources as structured records, each value traceable to retained, hashed evidence. Authenticate with a project API key (`Authorization: Bearer sec_…`). Errors are RFC 9457 problem details with a stable `code`. Lists use cursor pagination (`limit`, `cursor` → `next_cursor`).'
  contact:
    name: SourceFinch
    url: https://sourcefinch.com/docs/api
    email: hello@sourcefinch.com
  license:
    name: Proprietary
    url: https://sourcefinch.com/terms
servers:
- url: https://sourcefinch.com
  description: Production
tags:
- name: Records
  description: Current structured records
paths:
  /v1/sources/{source_id}/records:
    get:
      operationId: listRecords
      summary: Current records
      description: Records from the source's latest validated run, in extraction order, with their evidence ids.
      tags:
      - Records
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: source_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: limit
        in: query
        required: false
        schema:
          default: 50
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: A page of current records
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordsPage'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/changes:
    get:
      operationId: listChanges
      summary: Change feed
      description: Field-level record changes (added, changed, removed) across the project's sources, oldest first. Store `next_cursor` and pass it back as `cursor` to receive only newer changes. `run_id` narrows the feed to what one run recorded.
      tags:
      - Records
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          default: 50
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
      - name: source_id
        in: query
        required: false
        schema:
          type: string
          format: uuid
      - name: run_id
        in: query
        required: false
        schema:
          description: Only the changes one validated run recorded
          type: string
          format: uuid
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: A page of changes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangePage'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/runs/{run_id}/export:
    get:
      operationId: getRunExport
      summary: Export a validated run's records
      description: 'CSV, JSON, NDJSON or XLSX. Every row carries its record key, evidence id and evidence link; JSON/NDJSON/XLSX add the manifest SHA-256, acquisition path and usage rights (XLSX: Records, Data dictionary and Provenance sheets).'
      tags:
      - Records
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - console
      - mcp
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: format
        in: query
        required: false
        schema:
          default: csv
          type: string
          enum:
          - csv
          - json
          - ndjson
          - xlsx
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: The export file
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Problem details; `code` is `conflict`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    ErrorCode:
      type: string
      enum:
      - validation
      - unauthenticated
      - forbidden
      - not_found
      - conflict
      - policy
      - plan_limit
      - rate_limited
      - idempotency_mismatch
      - internal
    AcquisitionPath:
      type: string
      enum:
      - official_api
      - bulk_file
      - open_data_portal
      - licensed_feed
      - publisher_partnership
      - pay_per_crawl
      - public_web
      - customer_authorized
      - records_request
      - manual_upload
    RecordsPage:
      type: object
      properties:
        run:
          type: object
          properties:
            id:
              type: string
              format: uuid
            source_version:
              type:
              - integer
              - 'null'
            completed_at:
              type:
              - string
              - 'null'
              description: ISO-8601 timestamp (UTC)
            changes:
              type:
              - object
              - 'null'
              additionalProperties: {}
            acquisition_path:
              anyOf:
              - $ref: '#/components/schemas/AcquisitionPath'
              - type: 'null'
            usage_rights:
              anyOf:
              - $ref: '#/components/schemas/UsageRights'
              - type: 'null'
          required:
          - id
          - source_version
          - completed_at
          - changes
          - acquisition_path
          - usage_rights
          additionalProperties: false
        data:
          type: array
          items: {}
          description: Records from the source's latest validated run
        evidence_ids:
          type: array
          items:
            type: string
            format: uuid
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - run
      - data
      - evidence_ids
      - next_cursor
      additionalProperties: false
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          $ref: '#/components/schemas/ErrorCode'
        request_id:
          type: string
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
            additionalProperties: false
      required:
      - type
      - title
      - status
      - code
      description: application/problem+json
      additionalProperties: false
    ChangePage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Change'
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - data
      - next_cursor
      additionalProperties: false
    Change:
      type: object
      properties:
        id:
          type: integer
        source_id:
          type: string
          format: uuid
        run_id:
          type: string
          format: uuid
        record_key:
          type: string
        kind:
          type: string
          enum:
          - added
          - changed
          - removed
        changed_fields:
          type: array
          items:
            type: string
        before:
          description: The record before the change (null when added)
        after:
          description: The record after the change (null when removed)
        baseline:
          type: boolean
          description: 'True for the first recorded run of a source: everything is ''added'''
        created_at:
          type: string
          description: ISO-8601 timestamp (UTC)
      required:
      - id
      - source_id
      - run_id
      - record_key
      - kind
      - changed_fields
      - baseline
      - created_at
      description: A field-level record change, in the order SourceFinch observed it
      additionalProperties: false
    UsageRights:
      type: object
      properties:
        basis:
          type: string
          enum:
          - catalog
          - private_recipe
        licence_basis:
          type: string
          enum:
          - public_domain_gov
          - open_data_licence
          - site_terms
          - licensed_feed
          - customer_supplied
          - unknown
        licence_id:
          type:
          - string
          - 'null'
        commercial_use:
          type: string
          enum:
          - allowed
          - restricted
          - prohibited
          - unknown
        redistribution:
          type: string
          enum:
          - allowed
          - restricted
          - prohibited
          - unknown
        attribution_required:
          type: boolean
        attribution_text:
          type:
          - string
          - 'null'
        terms_snapshot_sha256:
          type:
          - string
          - 'null'
        reviewed_at:
          type:
          - string
          - 'null'
          description: ISO-8601 timestamp (UTC)
        usage_rights_id:
          type: string
          format: uuid
        version:
          type: integer
      required:
      - basis
      - licence_basis
      - commercial_use
      - redistribution
      - attribution_required
      description: Usage rights snapshotted at capture (documented provenance and terms posture; not legal advice)
      additionalProperties: false
  parameters:
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: Echoed in the response and logs; generated when absent.
      schema:
        type: string
        pattern: ^[A-Za-z0-9._-]{8,100}$
    Project:
      name: SourceFinch-Project
      in: header
      required: false
      description: Project UUID. Required for session tokens; API keys are bound to their project.
      schema:
        type: string
        format: uuid
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Project API key (sec_…) or a session token