Pain Spotter Blog API

The blog API from Pain Spotter — 2 operation(s) for blog.

GitHub OpenAPI

Operations 2

GET /api/v1/blog List published blog analyses #
GET /api/v1/blog/{slug} Get a published article (incl. raw Markdown body) #

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/painspotter-ai:painspotter-ai-blog-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

painspotter-ai-blog-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pain Spotter Public Blog API
  version: 1.0.0
  description: 'Programmatic, read-only access to AI-scored business opportunities mined from Reddit, Hacker News, Product Hunt, Stack Exchange and other open communities. Authenticate with an API key via the X-API-Key header. Quotas: Free 20 / Pro 1,000 / Business 5,000 calls per month (resets 1st of each month UTC). Get a key at https://painspotter.ai/account.'
  contact:
    email: support@painspotter.ai
  termsOfService: https://painspotter.ai/terms
servers:
- url: https://painspotter.ai
  description: Production
security:
- ApiKeyHeader: []
tags:
- name: blog
paths:
  /api/v1/blog:
    get:
      operationId: listBlogPosts
      tags:
      - blog
      summary: List published blog analyses
      description: Free tier — any valid key. Each article is an original AI synthesis (no verbatim community quotes).
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 100
        description: Keyword search across title + excerpt.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: Paginated list of published articles.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlogListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/QuotaExceeded'
  /api/v1/blog/{slug}:
    get:
      operationId: getBlogPost
      tags:
      - blog
      summary: Get a published article (incl. raw Markdown body)
      description: 404s do NOT count against your quota. `body_md` is the article in clean Markdown, ideal for ingestion / citation.
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Full article incl. body_md.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlogPost'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Article not found (not counted against quota).
        '429':
          $ref: '#/components/responses/QuotaExceeded'
components:
  responses:
    QuotaExceeded:
      description: Monthly quota exceeded.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: quota_exceeded
              current:
                type: integer
                example: 1000
              limit:
                type: integer
                example: 1000
              reset_at:
                type: string
                format: date-time
    Unauthorized:
      description: Missing or invalid API key.
  schemas:
    BlogListItem:
      type: object
      properties:
        slug:
          type: string
          example: aeo-analytics-the-new-stack-for-ai-search-visibility-9824
        title:
          type: string
        excerpt:
          type: string
        cover_image_url:
          type: string
          nullable: true
        tags:
          type: array
          items:
            type: string
        url:
          type: string
          description: Canonical public URL of the article.
        related_opportunity_id:
          type: integer
          nullable: true
        published_at:
          type: string
          format: date-time
          nullable: true
    BlogListResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/BlogListItem'
        total:
          type: integer
        page:
          type: integer
        page_size:
          type: integer
    BlogPost:
      type: object
      description: List item fields plus the full Markdown body.
      properties:
        slug:
          type: string
        title:
          type: string
        excerpt:
          type: string
        body_md:
          type: string
          description: Article body in clean Markdown.
        cover_image_url:
          type: string
          nullable: true
        tags:
          type: array
          items:
            type: string
        url:
          type: string
        related_opportunity_id:
          type: integer
          nullable: true
        published_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
externalDocs:
  description: Human-readable API docs
  url: https://painspotter.ai/api-docs