XeoRank Marketing API

The marketing API from XeoRank — 8 operation(s) for marketing.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /marketing/leads List Leads #
POST /marketing/leads Add Leads #
PATCH /marketing/leads/{lead_id} Update Lead #
GET /marketing/segments Segments #
POST /marketing/prospect-audit Prospect Audit #
POST /marketing/email/draft Draft Email #
POST /marketing/email/send Send Email #
GET /marketing/email/history Email History #
GET /marketing/unsubscribe Unsubscribe #

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/xeorank-com:xeorank-com-marketing-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

xeorank-com-marketing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SEO Intelligence Engine Marketing API
  version: 0.1.0
tags:
- name: Marketing
paths:
  /marketing/leads:
    get:
      tags:
      - Marketing
      summary: List Leads
      operationId: list_leads_marketing_leads_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Leads Marketing Leads Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Marketing
      summary: Add Leads
      operationId: add_leads_marketing_leads_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddLeadsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Add Leads Marketing Leads Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/leads/{lead_id}:
    patch:
      tags:
      - Marketing
      summary: Update Lead
      operationId: update_lead_marketing_leads__lead_id__patch
      security:
      - APIKeyHeader: []
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          title: Lead Id
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLeadRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Lead Marketing Leads  Lead Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/segments:
    get:
      tags:
      - Marketing
      summary: Segments
      operationId: segments_marketing_segments_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Segments Marketing Segments Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/prospect-audit:
    post:
      tags:
      - Marketing
      summary: Prospect Audit
      operationId: prospect_audit_marketing_prospect_audit_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProspectAuditRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Prospect Audit Marketing Prospect Audit Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/email/draft:
    post:
      tags:
      - Marketing
      summary: Draft Email
      operationId: draft_email_marketing_email_draft_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DraftEmailRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Draft Email Marketing Email Draft Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/email/send:
    post:
      tags:
      - Marketing
      summary: Send Email
      operationId: send_email_marketing_email_send_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendEmailRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Send Email Marketing Email Send Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/email/history:
    get:
      tags:
      - Marketing
      summary: Email History
      operationId: email_history_marketing_email_history_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      - name: to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: To
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Email History Marketing Email History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /marketing/unsubscribe:
    get:
      tags:
      - Marketing
      summary: Unsubscribe
      operationId: unsubscribe_marketing_unsubscribe_get
      parameters:
      - name: e
        in: query
        required: true
        schema:
          type: string
          title: E
      - name: t
        in: query
        required: true
        schema:
          type: string
          title: T
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DraftEmailRequest:
      properties:
        to:
          type: string
          maxLength: 320
          title: To
        subject:
          type: string
          maxLength: 300
          minLength: 1
          title: Subject
        title:
          type: string
          maxLength: 200
          minLength: 1
          title: Title
        body_html:
          type: string
          maxLength: 50000
          minLength: 1
          title: Body Html
        cta_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Cta Label
        cta_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Cta Url
        footnote:
          anyOf:
          - type: string
          - type: 'null'
          title: Footnote
        unsubscribe:
          type: boolean
          title: Unsubscribe
          default: true
      type: object
      required:
      - to
      - subject
      - title
      - body_html
      title: DraftEmailRequest
    UpdateLeadRequest:
      properties:
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        tags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tags
      type: object
      title: UpdateLeadRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    LeadIn:
      properties:
        email:
          type: string
          maxLength: 320
          title: Email
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        domain:
          anyOf:
          - type: string
          - type: 'null'
          title: Domain
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
        tags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tags
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
      type: object
      required:
      - email
      title: LeadIn
    ProspectAuditRequest:
      properties:
        url:
          type: string
          title: Url
        query:
          anyOf:
          - type: string
          - type: 'null'
          title: Query
      type: object
      required:
      - url
      title: ProspectAuditRequest
    SendEmailRequest:
      properties:
        draft_id:
          type: string
          title: Draft Id
        confirm:
          type: boolean
          title: Confirm
          default: false
      type: object
      required:
      - draft_id
      title: SendEmailRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AddLeadsRequest:
      properties:
        leads:
          items:
            $ref: '#/components/schemas/LeadIn'
          type: array
          maxItems: 500
          minItems: 1
          title: Leads
      type: object
      required:
      - leads
      title: AddLeadsRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Agent-Key