Sortance Bulk API

Verify a CSV list.

GitHub OpenAPI

Operations 8

POST /v1/bulk/jobs Create a bulk job #
GET /v1/bulk/jobs List bulk jobs #
GET /v1/bulk/jobs/{id} Get a bulk job #
DELETE /v1/bulk/jobs/{id} Delete a job's files #
PUT /v1/bulk/jobs/{id}/upload Upload the CSV #
GET /v1/bulk/jobs/{id}/estimate Estimate cost and quota #
POST /v1/bulk/jobs/{id}/start Start a bulk job #
GET /v1/bulk/jobs/{id}/results.csv Download results #

Specifications

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/sortance:sortance-bulk-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

sortance-bulk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sortance Bulk API
  version: 0.1.0
  summary: 'Email validation API for signup forms: disposable, no-MX, typo and role checks, your own rules, one decision with its reasons.'
  description: 'Check an email address for disposable domains, a missing mail server, typos and role inboxes, apply your own block and allow rules, and get one decision (send, challenge, hold or drop) with its reasons. It does not claim to confirm that a mailbox exists. Every response carries a trace_id and every error the same envelope. Human docs: https://sortance.com/docs/api. Agent reference: https://sortance.com/llms.txt. A remote MCP server is at https://api.sortance.com/mcp.'
  contact:
    name: Sortance
    url: https://sortance.com
  x-logo:
    url: https://api.sortance.com/brand/icon-512.png
servers:
- url: https://api.sortance.com
security:
- bearerAuth: []
tags:
- name: Bulk
  description: Verify a CSV list.
paths:
  /v1/bulk/jobs:
    post:
      summary: Create a bulk job
      description: Creates a job in state uploading. Needs a member key.
      security:
      - bearerAuth: []
      operationId: createBulkJob
      tags:
      - Bulk
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                purpose:
                  type: string
                  enum:
                  - outbound
                  - signup
                  - list_hygiene
                policy_slug:
                  type: string
                has_header:
                  type: boolean
                email_column:
                  type: string
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/BulkJob'
                required:
                - job
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      summary: List bulk jobs
      description: Newest first.
      security:
      - bearerAuth: []
      operationId: listBulkJobs
      tags:
      - Bulk
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
      - name: cursor
        in: query
        schema:
          type: string
      - name: state
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  jobs:
                    type: array
                    items:
                      $ref: '#/components/schemas/BulkJob'
                  cursor:
                    anyOf:
                    - type: string
                    - type: 'null'
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/bulk/jobs/{id}:
    get:
      summary: Get a bulk job
      description: With progress and live verdict counts while it runs.
      security:
      - bearerAuth: []
      operationId: getBulkJob
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/BulkJob'
                required:
                - job
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      summary: Delete a job's files
      description: The job record and its traces stay.
      security:
      - bearerAuth: []
      operationId: deleteBulkJobFiles
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/bulk/jobs/{id}/upload:
    put:
      summary: Upload the CSV
      description: The raw CSV as the body, up to 50 MB and 100,000 rows.
      security:
      - bearerAuth: []
      operationId: uploadBulkCsv
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      requestBody:
        required: true
        content:
          text/csv:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/BulkJob'
                required:
                - job
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Larger than 50 MB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/bulk/jobs/{id}/estimate:
    get:
      summary: Estimate cost and quota
      description: Unique rows, cached rows, quota remaining and the maximum cost.
      security:
      - bearerAuth: []
      operationId: estimateBulkJob
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/bulk/jobs/{id}/start:
    post:
      summary: Start a bulk job
      description: Runs it, or queues it behind two running jobs.
      security:
      - bearerAuth: []
      operationId: startBulkJob
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                allow_partial:
                  type: boolean
                notify:
                  type: boolean
      responses:
        '202':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/BulkJob'
                required:
                - job
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: 'quota_exceeded: the organisation''s monthly allowance is spent.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/bulk/jobs/{id}/results.csv:
    get:
      summary: Download results
      description: Your columns first, then sortance_* columns.
      security:
      - bearerAuth: []
      operationId: downloadBulkResults
      tags:
      - Bulk
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: bj_-prefixed job id.
      - name: segment
        in: query
        schema:
          type: string
          description: all, deliverable, undeliverable, review, business; allow, deny, review with a policy.
      responses:
        '200':
          description: The CSV
          content:
            text/csv:
              schema:
                type: string
        '400':
          description: 'invalid_request: malformed body or value.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'unauthorized: missing, malformed or revoked key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'forbidden: the key''s role is below what the route needs.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The job is not done yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: The files were deleted after 7 days.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error. Carries a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - unauthorized
              - quota_exceeded
              - rate_limited
              - internal_error
              - all_providers_failed
              - policy_invalid
              - policy_conflict
              - enrichment_quota_exceeded
              - compile_failed
              - not_found
              - screening_quota_exceeded
              - forbidden
              - origin_not_allowed
            message:
              type: string
            trace_id:
              type: string
          required:
          - code
          - message
          - trace_id
      required:
      - error
      description: Every non-2xx body has this shape.
    BulkJob:
      type: object
      additionalProperties: true
      description: 'A bulk job: id (bj_…), state, counts and progress. See /docs/api#bulk.'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'An API key from https://sortance.com/app: Authorization: Bearer $SORTANCE_KEY.'
externalDocs:
  description: API reference
  url: https://sortance.com/docs/api