Nittim Source API

The Source API from Nittim — 2 operation(s) for source.

GitHub OpenAPI

Operations 2

POST /api/v1/source/audit Audit posted source — Deep Verification (scores + verdict, metered) #
POST /api/v1/source/scan Scan posted source — free deterministic tier (hard evidence, no verdict) #

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/nittim-com:nittim-com-source-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

nittim-com-source-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: nittim — posted- audit Source API
  version: 1.0.0
  description: 'Audit or scan source you post directly (no GitHub repository required) — the REST twin of the audit_source/scan_source MCP tools. For a platform that only speaks plain HTTP (Abacus, Zapier, a custom agent framework), this is the minimal surface: post your files, get a verdict-bearing Deep AI job or an inline free scan back. See https://nittim.com/agents for the full walkthrough.'
servers:
- url: https://nittim.com
security:
- bearerAuth: []
tags:
- name: Source
paths:
  /api/v1/source/audit:
    post:
      operationId: auditSource
      summary: Audit posted source — Deep Verification (scores + verdict, metered)
      description: Starts an async Deep Verification audit against a posted set of files instead of a fetched GitHub repository. Returns immediately with a job id; poll /api/v1/audit/{id} until status is no longer "running". Charges one credit-metered audit (or runs free under the owner/org/free-audit rungs, or on a BYOK Anthropic key sent via x-nittim-anthropic-key) — a 402 response means you're out of credits.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourcePostBody'
      responses:
        '202':
          description: Audit job accepted and running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobAccepted'
        '400':
          description: Malformed body or an invalid posted snapshot (bad file path, too many files, unsupported encoding, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '401':
          description: Missing or invalid API key / session credential.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '402':
          description: Out of credits. The response carries a checkoutPath.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '413':
          description: Request body too large (over ~3.9MB).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Per-key rate limit — infra protection, not a usage quota.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Source
  /api/v1/source/scan:
    post:
      operationId: scanSource
      summary: Scan posted source — free deterministic tier (hard evidence, no verdict)
      description: Runs the two deterministic scanners (committed secrets, known-vulnerable dependencies) against a posted set of files and returns the result inline — no job, no model call, no charge. Never returns a verdict or a score; use auditSource for that.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourcePostBody'
      responses:
        '200':
          description: The scan result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanResult'
        '400':
          description: Malformed body or an invalid posted snapshot.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '401':
          description: Missing or invalid API key / session credential — this endpoint is always authenticated, even though it's free.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '413':
          description: Request body too large (over ~3.9MB).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Per-key rate limit — infra protection, not a usage quota.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Source
components:
  schemas:
    SourcePostBody:
      type: object
      required:
      - files
      properties:
        name:
          type: string
          maxLength: 200
          description: A display label for the posted snapshot (e.g. your app's name). Optional — defaults to "posted-source".
        files:
          type: array
          items:
            $ref: '#/components/schemas/PostedFile'
          minItems: 1
          maxItems: 500
          description: At most 500 files, and the whole request body (this JSON envelope, not just file content) must stay under ~3.9MB. Pre-filter node_modules, build output, and binaries.
    PostedFile:
      type: object
      required:
      - path
      - content
      properties:
        path:
          type: string
          description: Relative path, forward-slash separated. No absolute paths, no "..", no backslashes.
        content:
          type: string
          description: The file's text content. Plain text only — no binary encoding in v1.
    JobAccepted:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - running
        poll_url:
          type: string
          format: uri
        report_url:
          type: string
          format: uri
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        checkoutPath:
          type: string
        rateLimited:
          type: boolean
    ScanResult:
      type: object
      properties:
        id:
          type: string
          format: uuid
        persisted:
          type: boolean
          description: Whether the scan was saved. share_url is present only when this is true — a save can fail (e.g. a transient storage error); treat report as the durable result and share_url as best-effort.
        share_url:
          type: string
          format: uri
          description: Present only when persisted is true.
        report:
          type: object
          description: A FreeReport — deterministic evidence only. Never carries a verdict or a score field.
          properties:
            kind:
              type: string
              enum:
              - free
            signal:
              type: string
              enum:
              - hard_evidence
              - no_deterministic_findings
            hardEvidenceCount:
              type: integer
            framing:
              type:
              - string
              - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: nittim_sk_…
      description: 'A nittim API key (Authorization: Bearer nittim_sk_…). Mint one at https://nittim.com/keys.'