Narrareach Topics API

Timely topic suggestions for the writer's content pillars.

GitHub OpenAPI

Operations 1

GET /api/v1/topics List topic suggestions #

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/narrareach-com:narrareach-com-topics-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

narrareach-com-topics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Narrareach Automation Topics API
  version: 1.1.0
  description: Scoped REST API for authenticated Narrareach agents and automations. Create tokens in Narrareach settings and grant only the permissions required by the client. 1.1.0 adds Note versions (/api/v1/notes/{id}/versions) and hashtag sets (/api/v1/notes/hashtag-sets), the article and Note request fields the API already accepted, the refresh parameter on LinkedIn Article destinations, Stats engagement-peak basis and benchmark fields, the outbound webhooks payloads, and a list of error codes (components.x-error-codes). 429 is now declared only on the operations that can return it.
  contact:
    name: Narrareach Support
    url: https://www.narrareach.com/contact
servers:
- url: https://www.narrareach.com
  description: Production
tags:
- name: Topics
  description: Timely topic suggestions for the writer's content pillars.
paths:
  /api/v1/topics:
    get:
      tags:
      - Topics
      summary: List topic suggestions
      description: 'Suggests timely topics for each of the token user''s content pillars (profile themes and most-used tags), with a fit score, why it is timely, a suggested angle, and the trend sources and headline links behind it. When recommendations is empty, emptyReason says why; refreshing means the writer''s niches are still being searched: the response carries Retry-After: 30, so call again after that. Suggestions use the token user''s own plan and profile, not a team workspace owner''s. Each call spends 3 units of the per-user rate-limit budget it shares with MCP (and a transcript request 5). Requires research:read or research:write, a paid plan, and topic suggestions on the plan (Revenue Writer and above).'
      operationId: listTopicSuggestions
      security:
      - scopedBearerToken:
        - research:read
      - scopedBearerToken:
        - research:write
      parameters:
      - name: pillar
        in: query
        description: Optional pillar id from the pillars in an earlier response. Omit for every pillar.
        schema:
          type: string
          minLength: 1
          maxLength: 120
          pattern: \S
      - name: limit
        in: query
        description: How many suggestions to return. Defaults to 10.
        schema:
          type: integer
          minimum: 1
          maximum: 20
          default: 10
      responses:
        '200':
          description: 'Topic suggestions. While emptyReason is refreshing, Retry-After: 30 says when to ask again.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopicSuggestions'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          description: 'RESEARCH_RATE_LIMITED: too many requests in the per-user window shared with MCP, where each call costs 3 units. Wait Retry-After seconds; X-RateLimit-Remaining shows what is left.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          description: 'RESEARCH_RATE_LIMIT_UNAVAILABLE: the request allowance could not be checked; retry after Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  responses:
    NotFound:
      description: The requested resource or API route does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: The request is malformed or failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    PaymentRequired:
      description: The account needs an active subscription or a plan with Automation API access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: The bearer token is missing, invalid, revoked, or expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: The request could not be completed safely.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Conflict:
      description: The request conflicts with current resource or idempotency state. Reply delivery may return REPLY_NOT_DELIVERED or DELIVERY_UNCONFIRMED; the latter requires checking the provider thread before recovery.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: The token is valid but lacks the required scope or workspace role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    TopicSuggestions:
      type: object
      required:
      - pillars
      - recommendations
      - emptyReason
      - region
      - sources
      - fetchedAt
      properties:
        pillars:
          type: array
          items:
            type: object
            required:
            - id
            - name
            - source
            - topicCount
            properties:
              id:
                type: string
              name:
                type: string
              source:
                type: string
                enum:
                - content_tag
                - profile_theme
              topicCount:
                type: integer
        recommendations:
          type: array
          items:
            type: object
            required:
            - id
            - topic
            - pillar
            - fit
            - matchedTerms
            - momentum
            - momentumPct
            - firstSeenAt
            - whyNow
            - suggestedAngle
            - sources
            - links
            - network
            - signals
            - whyItWorks
            properties:
              id:
                type: string
              topic:
                type: string
              pillar:
                type: object
                required:
                - id
                - name
                properties:
                  id:
                    type: string
                  name:
                    type: string
              fit:
                type: number
                minimum: 0
                maximum: 100
                description: How squarely it sits in the pillar, how strongly it is trending, and how it did for writers.
              matchedTerms:
                type: array
                items:
                  type: string
              momentum:
                type: string
                enum:
                - new
                - rising
                - steady
                - cooling
              momentumPct:
                type:
                - number
                - 'null'
              firstSeenAt:
                type: string
                format: date-time
              whyNow:
                type: string
              suggestedAngle:
                type: string
              sources:
                type: array
                items:
                  type: object
                  required:
                  - source
                  - url
                  - rank
                  - volume
                  properties:
                    source:
                      type: string
                      enum:
                      - SUBSTACK
                      - BLUESKY
                      - X
                      - GOOGLE_TRENDS
                      - HACKER_NEWS
                      - GOOGLE_NEWS
                      - REDDIT
                    url:
                      type:
                      - string
                      - 'null'
                    rank:
                      type:
                      - number
                      - 'null'
                    volume:
                      type:
                      - number
                      - 'null'
              links:
                type: array
                items:
                  type: object
                  required:
                  - title
                  - url
                  properties:
                    title:
                      type: string
                    url:
                      type:
                      - string
                      - 'null'
              network:
                type:
                - object
                - 'null'
                description: How posts about the topic did across Narrareach writers, when known.
                properties:
                  writers:
                    type: number
                  posts:
                    type: number
                  platforms:
                    type: array
                    items:
                      type: string
                  engagementLift:
                    type:
                    - number
                    - 'null'
              signals:
                type: object
                required:
                - nicheResponse
                - pillarStrength
                - nicheGroup
                description: Evidence that the topic is likely to work for this writer. Each part is null when there is not enough data.
                properties:
                  nicheResponse:
                    type:
                    - object
                    - 'null'
                    description: A Reddit thread or X post compared with the usual response for that source in the writer's niche.
                    properties:
                      source:
                        type: string
                        enum:
                        - REDDIT
                        - X
                        - SUBSTACK
                      engagement:
                        type: number
                      typical:
                        type: number
                      multiple:
                        type: number
                  pillarStrength:
                    type:
                    - object
                    - 'null'
                    description: The pillar's rank by average engagement among the writer's measured pillars (1 is their best).
                    properties:
                      rank:
                        type: integer
                      of:
                        type: integer
                  nicheGroup:
                    type:
                    - object
                    - 'null'
                    description: 'How posts on similar topics did for other writers in the writer''s niche group: the median of each writer''s engagement against their own usual (1 is usual). The writer is never counted. label is the group''s name, or null when it has none or when scope is nearby_groups (the group had too few measured writers, so similar niches were used).'
                    properties:
                      label:
                        type:
                        - string
                        - 'null'
                      writers:
                        type: integer
                      lift:
                        type: number
                      scope:
                        type: string
                        enum:
                        - group
                        - nearby_groups
              whyItWorks:
                type:
                - string
                - 'null'
                description: The signals in one plain sentence, or null when none is strong enough to mention.
        emptyReason:
          type:
          - string
          - 'null'
          enum:
          - no_pillars
          - unknown_pillar
          - no_profile
          - check_unavailable
          - refreshing
          - no_trends
          - no_matches
          - null
          description: 'Why recommendations is empty: no_pillars (no themes or used tags), unknown_pillar, no_profile (no niche on the writer profile), check_unavailable (try again later), refreshing (call again in about 30 seconds), no_trends, no_matches.'
        region:
          type: string
        sources:
          type: array
          items:
            type: object
            required:
            - source
            - lastCollectedAt
            properties:
              source:
                type: string
              lastCollectedAt:
                type: string
                format: date-time
        fetchedAt:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
      - error
      properties:
        code:
          type: string
          deprecated: true
          description: Compatibility alias for error.code. New clients should use error.code.
        message:
          type: string
          deprecated: true
          description: Compatibility alias for error.message. New clients should use error.message.
        resolution:
          type: string
          deprecated: true
          description: Compatibility alias for error.resolution. New clients should use error.resolution.
        error:
          type: object
          required:
          - code
          - message
          - resolution
          properties:
            code:
              type: string
              example: TOKEN_MISSING_SCOPE
              description: Stable error.code values. components.x-error-codes lists the codes the API returns, with HTTP status and the operations that return each; new codes may be added, so treat an unlisted code by its HTTP status.
            message:
              type: string
              example: This API token does not include the notes:write permission.
            resolution:
              type: string
              example: Create a token with notes:write and retry the request.
            details:
              description: Optional validation or recovery details.
  securitySchemes:
    scopedBearerToken:
      type: http
      scheme: bearer
      bearerFormat: Narrareach automation token
      description: 'Send `Authorization: Bearer nrr_api_…`. Tokens are user-created and restricted to the operation scopes listed in each Security Requirement Object; a token needs any one of the scopes an operation lists. New tokens get every scope unless you choose fewer. A token stored with no scopes (an older token) is accepted for every operation. A token whose scopes were chosen does not gain scopes added later; create a new token to use them.'
      x-available-scopes:
        notes:read: Read Notes, Note operation state, and stored Stats insights.
        notes:write: Create, update, schedule, publish, and delete Notes.
        articles:write: Create, schedule, reschedule, and cancel articles.
        activity:read: Read connected Substack reader activity.
        activity:write: Reply to and triage connected Substack reader activity.
        webhooks:write: 'Reserved. No /api/v1 operation requires it yet: webhook endpoints are registered in Narrareach Settings → Integrations → REST API & webhooks, not with a token.'
        research:read: Read transcripts that were already requested (GET /api/v1/transcripts/{id}) and list topic suggestions (GET /api/v1/topics). Does not use the transcript allowance.
        research:write: Request transcripts of YouTube videos, podcast episodes, and audio files (POST /api/v1/transcripts), which uses the daily transcript allowance. Also reads them.
externalDocs:
  description: Connector and API setup
  url: https://www.narrareach.com/api-docs