Mencoro Discovery API

Discovery

GitHub OpenAPI

Operations 4

POST /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/brands Start a brand discovery job for a project #
POST /api/v1/organizations/{organizationId}/brand-name-suggestions Start a brand-name alias suggestion job #
POST /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/keywords Start a keyword discovery job for a project #
POST /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/prompts Start a geo prompt discovery job for a project #

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/mencoro-com:mencoro-com-discovery-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

mencoro-com-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mencoro Discovery API
  description: 'Public API for Mencoro customers. Authenticate with an API key: `Authorization: Bearer mencoro_sk_...`.'
  termsOfService: https://mencoro.com/legal/
  contact:
    name: Mencoro Support
    url: https://mencoro.com/contact/
    email: support@mencoro.com
  license:
    name: Proprietary
    url: https://mencoro.com/legal/
  version: 1.0.0
servers:
- url: https://api.mencoro.com
  description: Production
security:
- ApiKey: []
tags:
- name: Discovery
  description: Discovery
paths:
  /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/brands:
    post:
      tags:
      - Discovery
      summary: Start a brand discovery job for a project
      description: 'Minimum role: manager. Starts background discovery of the brands and competitors around a project and answers 202 with the job to poll; it never returns brands inline. The job PROPOSES names: it creates and updates nothing, so neither the brand profile nor the competitor list changes because this endpoint was called. The organization must be active. Unlike keyword and prompt discovery this operation does not require an entitled subscription, matching the application behaviour it mirrors. Ten starts per minute per organization, counted across every key of every member and shared with the same operation in the Mencoro app; a retry carrying an Idempotency-Key already answered is served from the record and does not count. A project whose brand monitoring profile has not been created yet is still accepted and still billed: the job runs grounded on the project name alone, with no website domains, brand names or competitors to work from, and completes normally. Configure the brand profile first if you want the discovery grounded.'
      operationId: startBrandDiscoveryJob
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: projectId
        in: path
        description: Must belong to the organization in the path.
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        description: Repeat it to retry a start whose response was lost; the same key returns the same job instead of starting a second one.
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              properties:
                shoppingEnabled:
                  description: 'Adds a shopping discovery pass. Set it only for a project that tracks a shopping engine: on any other project the pass spends provider budget on results nothing will use.'
                  type: boolean
                  default: false
                country:
                  description: ISO 3166-1 alpha-2 country used to localize the discovery.
                  type:
                  - string
                  - 'null'
                  maxLength: 2
                  minLength: 2
                  example: ES
              type: object
      responses:
        '202':
          description: The discovery job was accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedJobResource'
        '400':
          description: The body is not a JSON object, names an unknown field, or fails validation; or the Idempotency-Key header is missing
        '401':
          description: Missing or invalid API key
        '403':
          description: The key lacks the write capability
        '404':
          description: No organization or project the caller can access under these ids
        '409':
          description: The project is archived, or the organization is archived, or the Idempotency-Key was already used for a different request, or a previous attempt with it ended without a known outcome
        '429':
          description: The organization exceeded ten brand discovery starts per minute, or the key exceeded its request budget
  /api/v1/organizations/{organizationId}/brand-name-suggestions:
    post:
      tags:
      - Discovery
      summary: Start a brand-name alias suggestion job
      description: 'Minimum role: manager. Starts a background, web-search-grounded job that suggests alias spellings for one entity - a brand, a project or a competitor - described entirely by the body, and answers 202 with the job to poll; it never returns suggestions inline. The entity need not exist: nothing is looked up, nothing is attached and nothing is saved, so the suggestions are the caller''s to apply. Names sent in `enteredBrandNames` are excluded from the result. The organization must be active; no subscription is required, matching the application behaviour this mirrors. Ten starts per minute per organization, counted across every key of every member; a retry carrying an Idempotency-Key already answered is served from the record and does not count.'
      operationId: startBrandNameSuggestionJob
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        description: Repeat it to retry a start whose response was lost; the same key returns the same job instead of starting a second one.
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - name
              - websiteDomains
              properties:
                name:
                  description: The display name of the entity to find aliases for.
                  type: string
                  maxLength: 255
                  example: Acme
                websiteDomains:
                  description: 'The entity website domains. At least one is required: the web search is grounded on them, and without one the name alone is ambiguous. Duplicates are collapsed, after the entry count has been checked against maxItems.'
                  type: array
                  items:
                    type: string
                    maxLength: 2048
                  maxItems: 25
                  minItems: 1
                  example:
                  - https://acme.com
                enteredBrandNames:
                  description: Names already known, excluded from the suggestions. Duplicates are collapsed, after the entry count has been checked against maxItems.
                  type: array
                  items:
                    type: string
                    maxLength: 255
                  maxItems: 100
                  example:
                  - Acme
                  - Acme Inc
                country:
                  description: ISO 3166-1 alpha-2 country used to localize the web search.
                  type:
                  - string
                  - 'null'
                  maxLength: 2
                  minLength: 2
                  example: ES
              type: object
      responses:
        '202':
          description: The suggestion job was accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedJobResource'
        '400':
          description: The body is not a JSON object, names an unknown field, or fails validation; or the Idempotency-Key header is missing
        '401':
          description: Missing or invalid API key
        '403':
          description: The key lacks the write capability
        '404':
          description: No organization the caller can access under this id
        '409':
          description: The organization is archived, or the Idempotency-Key was already used for a different request, or a previous attempt with it ended without a known outcome
        '429':
          description: The organization exceeded ten suggestion starts per minute, or the key exceeded its request budget
  /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/keywords:
    post:
      tags:
      - Discovery
      summary: Start a keyword discovery job for a project
      description: 'Minimum role: manager. Starts background keyword discovery from free-text seed input and answers 202 with the job to poll; it never returns keywords inline. The job SUGGESTS keywords - it creates no tracked queries and changes nothing in the project, so a completed job is a list to choose from, not work that has been applied. Queries the project already tracks are excluded from the suggestions automatically; `excludeQueries` adds more on top for this run only. The organization must be active and hold an entitled subscription, because the run spends provider budget. Ten starts per minute per organization, counted across every key of every member; a retry carrying an Idempotency-Key already answered is served from the record and does not count. Run tuning is not exposed: the discovery fan-out uses provider defaults.'
      operationId: startKeywordDiscoveryJob
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: projectId
        in: path
        description: Must belong to the organization in the path.
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        description: Repeat it to retry a start whose response was lost; the same key returns the same job instead of starting a second one.
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - input
              properties:
                input:
                  description: Free text describing the keywords or topics to expand.
                  type: string
                  maxLength: 10000
                  example: crm for plumbers, field service software
                language:
                  description: Language code. Omit to let the provider detect it from the input.
                  type:
                  - string
                  - 'null'
                  maxLength: 5
                  example: es
                country:
                  description: ISO 3166-1 alpha-2 country. Omit to let the provider infer it.
                  type:
                  - string
                  - 'null'
                  maxLength: 2
                  minLength: 2
                  example: ES
                excludeQueries:
                  description: Extra queries to keep out of the suggestions for this run. Duplicates are collapsed, after the entry count has been checked against maxItems. The project tracked queries are excluded whether or not this is sent.
                  type: array
                  items:
                    type: string
                    maxLength: 500
                  maxItems: 5000
              type: object
      responses:
        '202':
          description: The discovery job was accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedJobResource'
        '400':
          description: The body is not a JSON object, names an unknown field, or fails validation; or the Idempotency-Key header is missing
        '401':
          description: Missing or invalid API key
        '402':
          description: The organization has no entitled subscription
        '403':
          description: The key lacks the write capability
        '404':
          description: No organization or project the caller can access under these ids
        '409':
          description: The project is archived, or the organization is archived, or the Idempotency-Key was already used for a different request, or a previous attempt with it ended without a known outcome
        '429':
          description: The organization exceeded ten discovery starts per minute, or the key exceeded its request budget
  /api/v1/organizations/{organizationId}/projects/{projectId}/discovery/prompts:
    post:
      tags:
      - Discovery
      summary: Start a geo prompt discovery job for a project
      description: 'Minimum role: manager. Starts background discovery of natural-language prompts - the questions an answer engine gets asked - from free-text seed input, and answers 202 with the job to poll; it never returns prompts inline. The job SUGGESTS prompts: it creates no tracked queries and changes nothing in the project. `country` is required here, unlike keyword discovery, because a prompt is a question asked from somewhere and the provider request has no default for it. Queries the project already tracks are excluded automatically; `excludeQueries` adds more for this run only. The organization must be active and hold an entitled subscription, because the run spends provider budget. Ten starts per minute per organization, counted across every key of every member; a retry carrying an Idempotency-Key already answered is served from the record and does not count. Run tuning is not exposed: the discovery fan-out uses provider defaults.'
      operationId: startPromptDiscoveryJob
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: projectId
        in: path
        description: Must belong to the organization in the path.
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        description: Repeat it to retry a start whose response was lost; the same key returns the same job instead of starting a second one.
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - input
              - country
              properties:
                input:
                  description: Free text describing the topics to turn into prompts.
                  type: string
                  maxLength: 10000
                  example: crm for plumbers, field service software
                country:
                  description: ISO 3166-1 alpha-2 country the prompts are asked from.
                  type: string
                  maxLength: 2
                  minLength: 2
                  example: ES
                language:
                  description: Language code. Omit to let the provider detect it from the input.
                  type:
                  - string
                  - 'null'
                  maxLength: 5
                  example: es
                excludeQueries:
                  description: Extra queries to keep out of the suggestions for this run. Duplicates are collapsed, after the entry count has been checked against maxItems. The project tracked queries are excluded whether or not this is sent.
                  type: array
                  items:
                    type: string
                    maxLength: 500
                  maxItems: 5000
              type: object
      responses:
        '202':
          description: The discovery job was accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedJobResource'
              examples:
                jobAccepted:
                  summary: The 202 body every operation that starts background work returns
                  description: 'A 202 means the work was accepted, never that it succeeded and never that any prompt exists yet. Poll `trackingUrl` - GET /api/v1/organizations/{organizationId}/jobs/{jobId} - until `status` is `completed` or `failed`. Use the URL as given rather than assembling one: it is generated from the job route, so a future change to that path arrives here instead of as a 404. `deduplicated` is false when this call started the job and true when it joined one an equivalent earlier request had already started, in which case `jobId` names that earlier job rather than the one this request invented.'
                  value:
                    jobId: 0193c4f3-2b5e-7a91-8c44-6e1d0f7b23ac
                    deduplicated: false
                    trackingUrl: https://api.mencoro.com/api/v1/organizations/0193c4f0-11aa-7b22-9d33-4e5f60718293/jobs/0193c4f3-2b5e-7a91-8c44-6e1d0f7b23ac
        '400':
          description: The body is not a JSON object, names an unknown field, or fails validation; or the Idempotency-Key header is missing
        '401':
          description: Missing or invalid API key
        '402':
          description: The organization has no entitled subscription
        '403':
          description: The key lacks the write capability
        '404':
          description: No organization or project the caller can access under these ids
        '409':
          description: The project is archived, or the organization is archived, or the Idempotency-Key was already used for a different request, or a previous attempt with it ended without a known outcome
        '429':
          description: The organization exceeded ten discovery starts per minute, or the key exceeded its request budget
components:
  schemas:
    AcceptedJobResource:
      description: Background work accepted for processing
      required:
      - jobId
      - deduplicated
      - trackingUrl
      properties:
        jobId:
          description: The job to poll. May name a job started by an earlier, equivalent request.
          type: string
          format: uuid
        deduplicated:
          description: Whether this call started the job, or joined one that was already running
          type: boolean
        trackingUrl:
          description: Poll this until the job reaches a terminal status
          type: string
          format: uri
      type: object
  securitySchemes:
    ApiKey:
      type: http
      description: 'A Mencoro API key, created from the app under API keys in the user menu. The plaintext key is shown once, at creation, and never again. A key only ever RESTRICTS: it never grants more than its owner''s live membership and role already allow, and every request re-checks those.'
      scheme: bearer