OKF Index Partners API

The Partners API from OKF Index — 1 operation(s) for partners.

GitHub OpenAPI

Operations 2

GET /api/partners Fixed-price advertising: placements, duration, public numbers and checkout. #
POST /api/partners Submit and pay for an ad package; the team reviews the paid campaign before it… #

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/okfindex-com:okfindex-com-partners-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

okfindex-com-partners-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OKF Index Partners API
  version: cb36b312
  description: 'The search index of Open Knowledge Format bundles. Index: GET /api/.'
servers:
- url: https://okfindex.com
tags:
- name: Partners
paths:
  /api/partners:
    get:
      operationId: get_api_partners
      summary: 'Fixed-price advertising: placements, duration, public numbers and checkout.'
      description: 'Four packages priced in USD per week, one-off or weekly subscription. Includes placements, sponsors and measured audience. Submission with payment, adjustments and results at /conta/publicidade, also in the profile menu. Review notices link from the verified account email. GET modalidade=pedido requires a human session: list your proposals (after=next) or read id; relatorio_depois pages daily results. GET modalidade=pendencias requires the same session and returns acao_pendente for a submitted campaign whose payment did not finish or a paid campaign with changes requested. GET modalidade=arte&id serves the private binary image, public only during a paid published campaign. Private responses never use public caching. The weekly catalogue is cached for 1 minute. Negotiation and partnerships use the contact form.

        Returns: { status, produto, idioma, titulo, descricao, publico, modalidades, placements, packages, house_bundle, parcerias, current_sponsors, stats, payment, contact, politica, _links }'
      responses:
        '200':
          description: '{ status, produto, idioma, titulo, descricao, publico, modalidades, placements, packages, house_bundle, parcerias, current_sponsors, stats, payment, contact, politica, _links }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: '`preco_fechado`: priced spaces can be purchased; other offers require negotiation.'
                  produto:
                    type: string
                    description: Product name.
                  idioma:
                    type: string
                    description: Language of the texts (the product's).
                  titulo:
                    type: string
                    description: Title of the offer.
                  descricao:
                    type: string
                    description: One sentence about the offer.
                  publico:
                    type: string
                    description: Who uses the product — the audience a sponsor reaches.
                  modalidades:
                    type: array
                    items:
                      type: object
                    description: '`{ id, nome }`: patrocinio, parceria, anuncio.'
                  placements:
                    type: array
                    items:
                      type: object
                    description: 'Package channels: id, nome, onde, formato, medicao and disponivel. Legacy monthly price is null in the weekly catalogue.'
                  packages:
                    type: array
                    items:
                      type: object
                    description: 'Four packages: id, nome, assinatura, preco_usd_semana, espacos, canais and allowed periods in exposicao[{dias,preco}].'
                  house_bundle:
                    type: object
                    description: 'Unavailable in the weekly catalogue: `{disponivel:false}`.'
                  parcerias:
                    type: array
                    items:
                      type: string
                    description: Partnership ideas the product is open to discuss.
                  current_sponsors:
                    type: array
                    items:
                      type: object
                    description: 'Sponsors in effect: `id`, `nome`, `url`, `frase`, `espacos`, `ate`.'
                  stats:
                    type: object
                    description: 'Excerpt of the public numbers (`hoje`, `janelas`, `agentes`, `confiabilidade`) and the `link` to `/api/vitrine`; `publicado: false` before the first publication.'
                  payment:
                    type: object
                    description: Shared payment through the purchase POST. Wallet fields remain for compatibility; do not send a manual payment before the quote.
                  contact:
                    type: object
                    description: '`email`, `form_url`, `api_url` (`POST /api/contact`, free: one message every 10 s per network), `campos` (required), `campos_proposta` (the optional proposal fields, each with its accepted values), `message_template`, `instructions`.'
                  politica:
                    type: object
                    description: 'Placement label, refused sectors, prepayment with review after it (`aprovacao_antes_pagamento: false`), credit back on refusal (`recusa_devolve_credito`), deadlines.'
                  _links:
                    type: object
                    description: '`self`, `stats`, `page` (`null` until the page exists), `contact`, `casa` (the same path on the ten products).'
                required:
                - status
                - produto
                - idioma
                - titulo
                - descricao
                - publico
                - modalidades
                - placements
                - packages
                - house_bundle
                - parcerias
                - current_sponsors
                - stats
                - payment
                - contact
                - politica
                - _links
      tags:
      - Partners
    post:
      operationId: post_api_partners
      summary: Submit and pay for an ad package; the team reviews the paid campaign before it…
      description: 'Human account session and same-origin CSRF required. Submit complete creative and terms with modalidade=proposta: one private binary is stored for the account, without charge or inventory reservation. Then pay that exact version. One-off: omit modalidade and send only {id,aprovacao:versao}; shared 402 quote and payment, no renewal. modalidade=assinatura adds the native assinatura body with explicit weekly renewal acceptance. Current BRL offers: /api/credito/assinaturas/ofertas. The team then reviews the paid campaign in /adm and publishes it, asks for changes or declines it. When changes are requested, POST modalidade=ajuste with {id,versao,nome,frase,url,direitos:true} and an optional new arte; there is no new charge. A declined campaign gets the amount paid back as credit in the account wallet, once, and its weekly renewal is cancelled; money back stays available through the refund policy. Notices go to the verified account email with a link to /conta/publicidade?pedido=ID. Read your campaign with GET modalidade=pedido&id=ID on any device. Cancel future charges in the account. modalidade=recibo reads your paid campaign receipt. The period begins on publication. Identical retries do not charge twice. Custom campaigns and free partnerships use POST /api/contact.

        Returns: { id, estado, recibo, versao, devolvido_usd, arte }'
      parameters:
      - name: '0'
        in: query
        required: false
        schema:
          type: string
        description: proposta submits; omit to pay the submitted version one-off; assinatura uses native weekly card billing; ajuste resubmits a paid campaign after changes were requested; recibo reads the account's campaign receipt.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Fresh random order id: 32 lowercase hexadecimal characters. Reuse for retries.'
                token:
                  type: string
                  description: 'Required only to submit a proposal: 64 random lowercase hexadecimal characters, reused for an identical retry. Account login remains mandatory for private access.'
                espaco:
                  type: array
                  items:
                    type: string
                  description: Legacy paid-order retry only. New purchases select a package.
                pacote:
                  type: string
                  description: One of the four package ids in GET /api/partners packages.
                duracao:
                  type: integer
                  description: Days from the package exposure list. Weekly subscriptions require 7.
                modalidade:
                  type: string
                  description: 'Required in the proposal body: avulso or assinatura. The approved mode is bound to the creative hash.'
                  enum:
                  - avulso
                  - assinatura
                aprovacao:
                  type: string
                  description: 'One-off payment: send only id and the 64-character versao returned by the proposal. The payment covers that exact version; no image is uploaded again.'
                versao:
                  type: string
                  description: 'modalidade=ajuste: the exact current versao of your paid campaign with changes requested.'
                assinatura:
                  type: object
                  description: 'Only with modalidade=assinatura: the native subscription body with recurso=publicidade:ORDER_ID, simulado, cartao and explicit renewal aceite. The authenticated account must own the campaign.'
                pedido:
                  type: string
                  description: 'Only with modalidade=recibo: the campaign id owned by the signed-in account.'
                nome:
                  type: string
                  description: Brand or product, up to 80 characters.
                email:
                  type: string
                  description: Contact email.
                url:
                  type: string
                  description: HTTPS destination URL.
                frase:
                  type: string
                  description: Ad copy, up to 100 characters.
                arte:
                  type: string
                  description: 'Base64 image bytes, without a data URL prefix. PNG, JPEG or WebP, up to 2 MB. Optional in modalidade=ajuste: omit it to keep the current image.'
                direitos:
                  type: boolean
                  description: true confirms the right to use the image and content.
              required:
              - id
      responses:
        '200':
          description: '{ id, estado, recibo, versao, devolvido_usd, arte }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Order id.
                  estado:
                    type: string
                    description: 'proposta: submitted, payment not finished; pagamento or assinatura: payment in progress; revisao: paid, in team review; ajuste: paid, changes requested; publicado: live in its paid period; recusado: declined, amount returned as account credit; estornado: payment refunded.'
                  recibo:
                    type: string
                    description: Verified payment receipt.
                  versao:
                    type: string
                    description: Current campaign fingerprint. An adjustment creates a new one.
                  devolvido_usd:
                    type: number
                    description: Amount returned as account credit after a decline; null otherwise.
                  arte:
                    type: string
                    description: Private binary URL; access requires the owning account or factor-protected owner until publication.
                required:
                - id
                - estado
                - recibo
                - versao
                - devolvido_usd
                - arte
        '400':
          description: Invalid order or artwork.
        '401':
          description: A human account session is required.
        '402':
          description: Payment required.
        '403':
          description: Invalid origin or CSRF.
        '409':
          description: Stored proposal required, space occupied, order changed or the action does not fit the campaign state.
        '503':
          description: Checkout unavailable.
      tags:
      - Partners
components:
  securitySchemes:
    globalAccount:
      type: apiKey
      in: cookie
      name: __Host-mm-auth
      description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
    contaChaveApi:
      type: http
      scheme: bearer
      bearerFormat: mmk_…
      description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
    carteiraAgente:
      type: http
      scheme: bearer
      bearerFormat: mmw_…
      description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
  url: https://payapi.market/api/okf-index
  description: PayAPI Market
x-service-info:
  categories:
  - knowledge
  - search
  - ai-agents
  docs:
    homepage: https://okfindex.com/
    apiReference: https://okfindex.com/developers
    llms: https://okfindex.com/llms.txt
    pricing: https://okfindex.com/api/pricing
    billing: https://okfindex.com/api/billing