Pain Spotter Opportunities API

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

GitHub OpenAPI

Operations 2

GET /api/v1/opportunities List opportunities with filters and pagination #
GET /api/v1/opportunities/{id} Get full opportunity detail #

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-opportunities-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-opportunities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pain Spotter Public Opportunities 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: Opportunities
paths:
  /api/v1/opportunities:
    get:
      operationId: listOpportunities
      tags:
      - Opportunities
      summary: List opportunities with filters and pagination
      parameters:
      - name: platform
        in: query
        required: false
        schema:
          type: string
        description: reddit | hackernews | producthunt | stackexchange | …
      - name: channel
        in: query
        required: false
        schema:
          type: string
        description: Channel / subreddit name (case-sensitive).
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 100
        description: Keyword search across title + description.
      - name: min_score
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          maximum: 100
          default: 0
      - name: recommendation
        in: query
        required: false
        schema:
          type: string
          enum:
          - Build
          - Validate
          - Skip
      - name: online_only
        in: query
        required: false
        schema:
          type: boolean
          default: true
        description: Only ideas shippable as software / SaaS.
      - 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 opportunities.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpportunityListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          description: Invalid query parameter.
        '429':
          $ref: '#/components/responses/QuotaExceeded'
  /api/v1/opportunities/{id}:
    get:
      operationId: getOpportunity
      tags:
      - Opportunities
      summary: Get full opportunity detail
      description: 404s do NOT count against your quota.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Full opportunity detail.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpportunityDetail'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Opportunity not found (not counted against quota).
        '429':
          $ref: '#/components/responses/QuotaExceeded'
components:
  schemas:
    OpportunityListResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/OpportunityListItem'
        total:
          type: integer
        page:
          type: integer
        page_size:
          type: integer
    OpportunityListItem:
      type: object
      properties:
        id:
          type: integer
          example: 7301
        platform:
          type: string
          example: reddit
          description: 'Source platform: reddit | hackernews | producthunt | stackexchange | …'
        channel_name:
          type: string
          example: SaaS
        title:
          type: string
          description: LLM-rewritten title (not the original post headline).
        slug:
          type: string
          example: llm-firewall-proxy-api
        recommendation:
          type: string
          enum:
          - Build
          - Validate
          - Skip
        score:
          type: integer
          minimum: 0
          maximum: 100
          description: 0–100 composite opportunity score.
        pain_point_intensity:
          type: integer
          minimum: 0
          maximum: 10
        willingness_to_pay_score:
          type: integer
          minimum: 0
          maximum: 10
        tech_difficulty:
          type: integer
          minimum: 0
          maximum: 10
        sustainability_score:
          type: integer
          minimum: 0
          maximum: 10
        target_audience:
          type: string
        monetization_model:
          type: string
        evidence_count:
          type: integer
        merged_from_count:
          type: integer
        is_online_deliverable:
          type: boolean
        created_at:
          type: string
          format: date-time
    OpportunityDetail:
      type: object
      description: List item fields plus long-form detail-only fields.
      properties:
        id:
          type: integer
          example: 7301
        platform:
          type: string
          example: reddit
          description: 'Source platform: reddit | hackernews | producthunt | stackexchange | …'
        channel_name:
          type: string
          example: SaaS
        title:
          type: string
          description: LLM-rewritten title (not the original post headline).
        slug:
          type: string
          example: llm-firewall-proxy-api
        recommendation:
          type: string
          enum:
          - Build
          - Validate
          - Skip
        score:
          type: integer
          minimum: 0
          maximum: 100
          description: 0–100 composite opportunity score.
        pain_point_intensity:
          type: integer
          minimum: 0
          maximum: 10
        willingness_to_pay_score:
          type: integer
          minimum: 0
          maximum: 10
        tech_difficulty:
          type: integer
          minimum: 0
          maximum: 10
        sustainability_score:
          type: integer
          minimum: 0
          maximum: 10
        target_audience:
          type: string
        monetization_model:
          type: string
        evidence_count:
          type: integer
        merged_from_count:
          type: integer
        is_online_deliverable:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          description: Long-form pain narrative.
        market_size_estimate:
          type: string
        key_features:
          type: array
          items:
            type: string
        competitors:
          type: array
          items:
            type: string
        differentiation:
          type: string
        risks:
          type: array
          items:
            type: string
        related_article_url:
          type: string
          nullable: true
          description: URL of the published blog analysis for this opportunity, if one exists.
  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.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
externalDocs:
  description: Human-readable API docs
  url: https://painspotter.ai/api-docs