MentionsAPI · Schema

CompareResponse

CompanyArtificial IntelligenceBrand MonitoringSearch VisibilityDeveloper Tools

Properties

Name Type Description
request_id string
side_a object
side_b object
delta object
citations array
cost_cents integer
balance_after_cents integer
View JSON Schema on GitHub

JSON Schema

mentionsapi-com-compare-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mentionsapi-com/json-schema/mentionsapi-com-compare-response-schema.json",
  "title": "CompareResponse",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mentionsapi-com-openapi.json#/components/schemas/CompareResponse",
  "type": "object",
  "required": [
    "request_id",
    "side_a",
    "side_b",
    "delta",
    "citations",
    "cost_cents",
    "balance_after_cents"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "side_a": {
      "$ref": "#/$defs/CompareSide"
    },
    "side_b": {
      "$ref": "#/$defs/CompareSide"
    },
    "delta": {
      "type": "object",
      "required": [
        "mention_count_diff",
        "mention_rate_a",
        "mention_rate_b",
        "delta_pct",
        "winner",
        "interpretation"
      ],
      "properties": {
        "mention_count_diff": {
          "type": "integer"
        },
        "mention_rate_a": {
          "type": "number"
        },
        "mention_rate_b": {
          "type": "number"
        },
        "delta_pct": {
          "type": "number"
        },
        "winner": {
          "type": "string",
          "enum": [
            "side_a",
            "side_b",
            "tie"
          ]
        },
        "interpretation": {
          "type": "string"
        }
      }
    },
    "citations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CompareCitation"
      }
    },
    "cost_cents": {
      "type": "integer"
    },
    "balance_after_cents": {
      "type": "integer"
    }
  },
  "$defs": {
    "CitationBranding": {
      "type": "object",
      "properties": {
        "logo_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "primary_color": {
          "type": [
            "string",
            "null"
          ]
        },
        "secondary_color": {
          "type": [
            "string",
            "null"
          ]
        },
        "og_image": {
          "type": [
            "string",
            "null"
          ]
        },
        "site_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "fetched_at": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "CompareCitation": {
      "type": "object",
      "required": [
        "url",
        "title"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "branding": {
          "$ref": "#/$defs/CitationBranding"
        }
      }
    },
    "CompareSide": {
      "type": "object",
      "required": [
        "query",
        "brand",
        "providers",
        "mention_count",
        "provider_count"
      ],
      "properties": {
        "query": {
          "type": "string"
        },
        "brand": {
          "type": "string"
        },
        "providers": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "required": [
              "mentioned",
              "rank"
            ],
            "properties": {
              "mentioned": {
                "type": "boolean"
              },
              "rank": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            }
          }
        },
        "mention_count": {
          "type": "integer"
        },
        "provider_count": {
          "type": "integer"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/mentionsapi-com-compare-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.