Morningscore Search Console API

Read live Google Search Console performance for a domain through the account's own GSC connection: every query with clicks, impressions, CTR and average position, including long-tail queries with zero clicks, up to 16 months back.

GitHub OpenAPI

Operations 1

GET /v1/{domainId}/search-console/performance Read Search Console performance #

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/morningscore-io:morningscore-io-searchconsole-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

morningscore-io-searchconsole-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Morningscore Search Console API
  version: 1.0.0
  description: 'The Morningscore API gives you programmatic access to our SEO and website analysis tools. With this API, you can:


    - Fetch detailed domain information

    - Analyze onsite SEO issues

    - Retrieve AI fixes for issues


    Visit our SEO API information for detailed feature descriptions, pricing plans, and practical use cases.


    ## MCP


    We also provide a Morningscore MCP interface for agent and LLM workflows that prefer tool-style access over direct REST integration.


    With MCP, integrations can call curated Morningscore tools through a single protocol endpoint instead of manually orchestrating multiple REST calls.


    The MCP endpoint is currently available at `mcp.morningscore.io/mcp`.


    MCP clients register with the Morningscore app at `/oauth/register` and use Passport OAuth Bearer tokens. The MCP resource exchanges those tokens with the app for a short-lived API context.


    MCP is currently in **BETA** and may change as we continue improving it.


    ## Endpoint Groups


    - **Domains**: List available domains, inspect domain-level metrics, and score history.

    - **Competitors**: List saved competitors with optional SEO, link, and GEO metrics, fetch suggestions, and add or remove competitors for a domain.

    - **Missions**: List, create, archive, unarchive, and delete SEO missions for a domain.

    - **Health**: Analyze onsite SEO pages, issues, AI fixes, crawler IPs, and overall health summaries.

    - **Keywords**: List ranking and tracked keywords, inspect keyword metrics, compare competitor overlap, research keyword ideas, read cached Google SERP results, and fetch suggested keywords.

    - **AI**: GEO Score (AI visibility) and tracked prompts.

    - **GEO Health**: Six-pillar GEO Health reports (read and start generation).

    - **Links**: Retrieve backlink data for a domain

    - **Writer**: Generate and retrieve AI-written articles based on keywords

    - **Page Booster**: Optimize the SEO of any landing page. Send HTML and receive an improved version.


    ## Authentication


    All API requests require an API key, which can be obtained from your Morningscore dashboard.


    ## Rate Limiting


    Each API key is limited to a maximum of **20 requests per second**. This is calculated using a running window, meaning at any given moment, the number of requests made in the previous 5 seconds cannot exceed 100.'
  termsOfService: https://morningscore.io/terms/
  contact:
    email: mail@morningscore.io
    name: Morningscore
servers:
- url: https://api.morningscore.io
  description: Morningscore API Base URL
security:
- bearerAuth: []
tags:
- name: searchConsole
  title: Search Console
  x-displayName: Search Console
  description: 'Read live Google Search Console performance for a domain through the account''s own GSC connection: every query with clicks, impressions, CTR and average position, including long-tail queries with zero clicks, up to 16 months back.'
paths:
  /v1/{domainId}/search-console/performance:
    get:
      description: Live Google Search Console Search Analytics for the domain, read with the account's own GSC connection. Returns every query Google reports, including ones with a single impression and zero clicks, with clicks, impressions, CTR and average position. Supports up to 16 months of history, grouping by query/page/date/country/device, and text filters. Rows are restricted to URLs on the domain and its subdomains. Google omits some rare, anonymized queries. Subject to a monthly limit of 1000 uncached requests per company; cached responses (5 minutes) do not count.
      summary: Read Search Console performance
      tags:
      - searchConsole
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
          example: v3.dev.724c7b98c8766f051883aa91a7282204
      - name: from
        in: query
        description: 'Start date (YYYY-MM-DD). Clamped to the 16 months Google keeps. Default: 90 days before `to`.'
        content:
          application/json:
            schema:
              type: string
              pattern: ^\d{4}-\d{2}-\d{2}$
              example: '2026-01-01'
      - name: to
        in: query
        description: 'End date (YYYY-MM-DD). Default and maximum: today. The last 2-3 days may be partial.'
        content:
          application/json:
            schema:
              type: string
              pattern: ^\d{4}-\d{2}-\d{2}$
              example: '2026-03-31'
      - name: dimensions
        in: query
        description: Up to 3 dimensions to group rows by. Accepts an array or a comma-separated string. Default `["query"]`. Add `date` for a daily time series, `page` to see which URL ranks.
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
                enum:
                - query
                - page
                - date
                - country
                - device
              minItems: 1
              maxItems: 3
              example:
              - query
              - page
      - name: query_contains
        in: query
        description: Only queries containing this text (case-insensitive).
        content:
          application/json:
            schema:
              type:
              - string
              - 'null'
              minLength: 1
              maxLength: 500
      - name: query_not_contains
        in: query
        description: Exclude queries containing this text, e.g. the brand name.
        content:
          application/json:
            schema:
              type:
              - string
              - 'null'
              minLength: 1
              maxLength: 500
      - name: query_regex
        in: query
        description: Only queries matching this RE2 regular expression.
        content:
          application/json:
            schema:
              type:
              - string
              - 'null'
              minLength: 1
              maxLength: 500
      - name: page_contains
        in: query
        description: Only rows whose landing page URL contains this text.
        content:
          application/json:
            schema:
              type:
              - string
              - 'null'
              minLength: 1
              maxLength: 500
      - name: country
        in: query
        description: Only this country, as an ISO 3166-1 alpha-3 code (e.g. `dnk`, `usa`).
        content:
          application/json:
            schema:
              type: string
              pattern: ^[a-zA-Z]{3}$
              example: dnk
      - name: device
        in: query
        content:
          application/json:
            schema:
              type: string
              enum:
              - DESKTOP
              - MOBILE
              - TABLET
      - name: search_type
        in: query
        content:
          application/json:
            schema:
              default: web
              type: string
              enum:
              - web
              - image
              - video
              - news
              - discover
              - googleNews
      - name: data_state
        in: query
        description: '`all` includes fresh, not yet finalized days; `final` only finalized data.'
        content:
          application/json:
            schema:
              default: all
              type: string
              enum:
              - final
              - all
      - name: row_limit
        in: query
        description: Rows per request (max 25000).
        content:
          application/json:
            schema:
              default: 1000
              type: integer
              minimum: 1
              maximum: 25000
      - name: start_row
        in: query
        description: Zero-based row offset for paging. Continue while `has_more` is true.
        content:
          application/json:
            schema:
              default: 0
              type:
              - integer
              - 'null'
              minimum: 0
              maximum: 1000000
      operationId: searchConsole.getPerformance
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - ok
                    - not_connected
                    - invalid_connection
                    description: '`not_connected`: no Google Search Console connection of this account covers the domain. `invalid_connection`: connected, but Google rejected every token or permission; the user must connect Search Console again.'
                  domain:
                    type: string
                  property:
                    type:
                    - string
                    - 'null'
                    description: The Search Console property the data was read from.
                  from:
                    type:
                    - string
                    - 'null'
                  to:
                    type:
                    - string
                    - 'null'
                  dimensions:
                    type: array
                    items:
                      type: string
                      enum:
                      - query
                      - page
                      - date
                      - country
                      - device
                  search_type:
                    type: string
                  data_state:
                    type: string
                  start_row:
                    type: number
                  row_limit:
                    type: number
                  has_more:
                    type: boolean
                  totals:
                    type: object
                    properties:
                      clicks:
                        type: number
                      impressions:
                        type: number
                    required:
                    - clicks
                    - impressions
                    description: Sums over the returned rows only.
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        query:
                          type:
                          - string
                          - 'null'
                        page:
                          type:
                          - string
                          - 'null'
                        date:
                          type:
                          - string
                          - 'null'
                        country:
                          type:
                          - string
                          - 'null'
                        device:
                          type:
                          - string
                          - 'null'
                        clicks:
                          type: number
                        impressions:
                          type: number
                        ctr:
                          type:
                          - number
                          - 'null'
                        position:
                          type:
                          - number
                          - 'null'
                      required:
                      - clicks
                      - impressions
                      - ctr
                      - position
                required:
                - status
                - domain
                - property
                - from
                - to
                - dimensions
                - search_type
                - data_state
                - start_row
                - row_limit
                - has_more
                - totals
                - rows
        '400':
          description: '400'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
        '401':
          description: '401'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '404'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '429'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsError'
        '500':
          description: '500'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalError'
      x-order: 100
components:
  schemas:
    InternalError:
      type: object
      properties:
        error:
          type: string
          example: Internal Server Error
        message:
          type: string
        details: {}
      required:
      - error
      title: InternalError
    RateLimitError:
      type: object
      properties:
        message:
          type: string
          description: Rate limit exceeded.
          example: Too many requests
      required:
      - message
      title: RateLimitError
    TooManyRequestsError:
      oneOf:
      - $ref: '#/components/schemas/Error'
      - $ref: '#/components/schemas/RateLimitError'
      title: TooManyRequestsError
      description: Per-window rate limit exceeded, or a monthly usage quota (e.g. live SERP) was exhausted.
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
          example: Domain not found
      required:
      - error
      title: Error
    BadRequestError:
      oneOf:
      - $ref: '#/components/schemas/Error'
      - type: object
        properties:
          message:
            type: string
            example: Invalid request
        required:
        - message
      title: BadRequestError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-tagGroups:
- name: SEO Data
  tags:
  - domains
  - competitors
  - missions
  - health
  - keywords
  - searchConsole
  - links
- name: AI Tools
  tags:
  - ai
  - geoHealth
  - writer
  - pageBooster
- name: Account
  tags:
  - other