Morningscore Writer API

Generate and retrieve AI-written articles for a domain. Use the returned article ID to poll or fetch generated content.

GitHub OpenAPI

Operations 3

POST /v1/{domain_id}/articles Generate an article #
GET /v1/{domain_id}/articles List articles #
GET /v1/{domain_id}/articles/{article_id} Get an article #

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-writer-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-writer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Morningscore Writer 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: writer
  title: Writer
  x-displayName: Writer
  description: Generate and retrieve AI-written articles for a domain. Use the returned article ID to poll or fetch generated content.
paths:
  /v1/{domain_id}/articles:
    post:
      description: Starts async article generation using Rank Writer 2.0. Returns immediately with an article id; poll getArticle until contentStatus is generated. Optional preset controls quality/speed (defaults to fast). Optional custom_instructions steer the writer the same way as the custom instructions field in the Rank Writer app (max 3000 characters and 250 words).
      summary: Generate an article
      tags:
      - writer
      parameters:
      - name: domain_id
        in: path
        required: true
        schema:
          type: string
          example: v3.dev.724c7b98c8766f051883aa91a7282204
      operationId: writer.generateArticle
      requestBody:
        description: Body
        content:
          application/json:
            schema:
              type: object
              properties:
                keyword:
                  type: string
                preset:
                  type: string
                  enum:
                  - fast
                  - medium
                  - slow
                content_type:
                  type: string
                  enum:
                  - article
                  - landing_page
                  - product
                  - product_category
                custom_instructions:
                  description: 'Instructions for the writer, like the custom instructions field in the Rank Writer app: tone, audience, what to include or avoid, products or facts to mention.'
                  type: string
                  maxLength: 3000
              required:
              - keyword
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                required:
                - id
        '400':
          description: '400'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
        '401':
          description: '401'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: '402'
          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: 800
    get:
      description: Retrieves a paginated list of articles. You can use the _id from the listed articles to fetch the full article content using the getArticle endpoint.
      summary: List articles
      tags:
      - writer
      parameters:
      - name: domain_id
        in: path
        required: true
        schema:
          type: string
          example: v3.dev.724c7b98c8766f051883aa91a7282204
      - name: pagination.page
        in: query
        description: The page number to return
        content:
          application/json:
            schema:
              default: 1
              type: number
              minimum: 1
              maximum: 100
      - name: pagination.per_page
        in: query
        description: The number of items to return per page
        content:
          application/json:
            schema:
              default: 10
              type: number
              minimum: 1
              maximum: 100
      operationId: writer.listArticles
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  total:
                    type: number
                  page:
                    type: number
                  per_page:
                    type: number
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        _id:
                          type:
                          - string
                          - 'null'
                        title:
                          type:
                          - string
                          - 'null'
                        metaTitle:
                          type:
                          - string
                          - 'null'
                        metaDescription:
                          type:
                          - string
                          - 'null'
                        createdAt:
                          type:
                          - string
                          - 'null'
                        updatedAt:
                          type:
                          - string
                          - 'null'
                        contentStatus:
                          type:
                          - string
                          - 'null'
                        status:
                          type:
                          - string
                          - 'null'
                required:
                - total
                - page
                - per_page
                - data
        '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
  /v1/{domain_id}/articles/{article_id}:
    get:
      description: Retrieves a specific article by its ID.
      summary: Get an article
      tags:
      - writer
      parameters:
      - name: domain_id
        in: path
        required: true
        schema:
          type: string
          example: v3.dev.724c7b98c8766f051883aa91a7282204
      - name: article_id
        in: path
        required: true
        schema:
          type: string
      operationId: writer.getArticle
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type:
                    - string
                    - 'null'
                  title:
                    type:
                    - string
                    - 'null'
                  metaTitle:
                    type:
                    - string
                    - 'null'
                  metaDescription:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type:
                    - string
                    - 'null'
                  updatedAt:
                    type:
                    - string
                    - 'null'
                  contentStatus:
                    type:
                    - string
                    - 'null'
                  status:
                    type:
                    - string
                    - 'null'
                  content:
                    type:
                    - string
                    - 'null'
        '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