OpenAffiliate Submissions API

The Submissions API from OpenAffiliate — 1 operation(s) for submissions.

GitHub OpenAPI

Operations 1

POST /api/submissions Submit a missing program for verification #

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/openaffiliate-dev:openaffiliate-dev-submissions-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

openaffiliate-dev-submissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAffiliate REST Submissions API
  version: 1.0.0
  description: 'Search the public affiliate program registry and read program terms. No authentication or API key is required. The only write is POST /api/submissions, which queues a program for a maintainer to verify; it never lists or scores anything by itself. Versioning: every response carries an API-Version header, currently 1, and a request may send API-Version: 1 to pin it (any other value returns 400 UNSUPPORTED_API_VERSION). Breaking changes ship only under a new major version; additive changes (new fields, parameters or endpoints) can arrive in the current one. Deprecation: a field, parameter or endpoint is deprecated at least 90 days before it is removed. Its responses then carry a Deprecation header (RFC 9745) with the date it was deprecated and a Sunset header (RFC 8594) with the date it stops working, and the change is listed in the changelog at https://openaffiliate.dev/changelog.'
servers:
- url: https://openaffiliate.dev
tags:
- name: Submissions
paths:
  /api/submissions:
    post:
      operationId: submitProgram
      summary: Submit a missing program for verification
      description: 'Queue the brand''s own affiliate program page for a maintainer to verify against the brand''s published terms. Not instant: nothing is listed and no score exists until the terms are verified. Look the program up first (GET /api/programs?q= or /api/programs/{slug}). A domain already listed answers 200 with listingUrl; a domain already in the queue answers 200 with that submission (duplicate: true). The submitted URL is never fetched at submit time. The contact email is optional, never shown and never returned. Rate limited per address, per domain and site-wide; a 429 carries Retry-After.'
      parameters:
      - name: API-Version
        in: header
        required: false
        description: Pin the API major version. Omitted means the current version, 1. Any other value returns 400 UNSUPPORTED_API_VERSION.
        schema:
          type: string
          enum:
          - '1'
          default: '1'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmissionRequest'
      responses:
        '200':
          description: Already listed, or already in the queue.
          headers:
            API-Version:
              $ref: '#/components/headers/APIVersion'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Retry-After:
              description: Seconds until the window that refused the request ends.
              schema:
                type: integer
                minimum: 0
            RateLimit-Limit:
              description: Requests allowed in that window.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionResponse'
      tags:
      - Submissions
components:
  headers:
    Deprecation:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Sunset:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    APIVersion:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  schemas:
    SubmissionRequest:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    SubmissionResponse:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true