{
  "openapi": "3.0.1",
  "info": {
    "title": "Journalist Requests Scraper (HARO Alternative)",
    "description": "Journalist Requests Scraper (HARO Alternative) finds live media requests for expert sources: SourceBottle call-outs and #journorequest posts on Bluesky and Mastodon, with title, summary, outlet, requester type, section, country, deadline, days left and topic matches. No login.",
    "version": "1.0",
    "x-build-id": "A84kxDGkugqOAO8vx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~journalist-requests-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-journalist-requests-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/neuro-scraper~journalist-requests-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-journalist-requests-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/neuro-scraper~journalist-requests-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-journalist-requests-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sources": {
            "title": "Where to look",
            "type": "array",
            "description": "Which feeds of journalist requests to read.",
            "items": {
              "type": "string",
              "enum": [
                "sourcebottle",
                "bluesky",
                "mastodon"
              ],
              "enumTitles": [
                "SourceBottle call-outs",
                "Bluesky #journorequest posts",
                "Mastodon #journorequest posts"
              ]
            },
            "default": [
              "sourcebottle",
              "bluesky"
            ]
          },
          "keywords": {
            "title": "Your topics / expertise",
            "type": "array",
            "description": "Words that describe what you can talk about. Matching words are listed in matchedKeywords.",
            "items": {
              "type": "string"
            }
          },
          "keywordsOnly": {
            "title": "Only requests matching my topics",
            "type": "boolean",
            "description": "Keep only requests that mention at least one of your topics.",
            "default": false
          },
          "onlyNewRequests": {
            "title": "Only new requests (for scheduled runs)",
            "type": "boolean",
            "description": "Remember what earlier runs returned and output only requests not seen before.",
            "default": false
          },
          "onlyOpenDeadlines": {
            "title": "Hide expired requests",
            "type": "boolean",
            "description": "Drop requests whose deadline has passed.",
            "default": true
          },
          "industries": {
            "title": "SourceBottle sections",
            "type": "array",
            "description": "Optional: SourceBottle sections by name or number, e.g. Technology, Health & Wellbeing. Empty = all sections.",
            "items": {
              "type": "string"
            }
          },
          "requesterTypes": {
            "title": "Requester types",
            "type": "array",
            "description": "Optional (SourceBottle): keep only these requester types, e.g. Journalist, Blogger, Podcaster, PR Pro.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Optional (SourceBottle): keep only requests from these countries, e.g. Australia, United States.",
            "items": {
              "type": "string"
            }
          },
          "hashtags": {
            "title": "Hashtags (Bluesky / Mastodon)",
            "type": "array",
            "description": "Hashtags searched on Bluesky and Mastodon, without #. E.g. journorequest, prrequest.",
            "default": [
              "journorequest"
            ],
            "items": {
              "type": "string"
            }
          },
          "mastodonInstances": {
            "title": "Mastodon servers",
            "type": "array",
            "description": "Mastodon servers whose hashtag timeline is read, e.g. mastodon.social, journa.host.",
            "default": [
              "mastodon.social"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Languages",
            "type": "array",
            "description": "Optional: keep only posts in these languages (two-letter codes, e.g. en, de).",
            "items": {
              "type": "string"
            }
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Optional: only requests posted in the last N days. 0 = any date.",
            "default": 0
          },
          "includeDetails": {
            "title": "Open every call-out",
            "type": "boolean",
            "description": "SourceBottle: open each call-out for country, outlet, verified media, local requirement, details and paid flag.",
            "default": true
          },
          "maxRequests": {
            "title": "Max requests to return",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Total limit over all sources. 0 = everything available.",
            "default": 200
          },
          "maxPerSource": {
            "title": "Max requests per source",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional limit per source (SourceBottle, Bluesky, Mastodon). 0 = no per-source limit.",
            "default": 0
          },
          "incrementalMode": {
            "title": "Incremental mode (only new / changed rows)",
            "type": "boolean",
            "description": "Remember every row of this run; the next run outputs only NEW and UPDATED rows (column changeType).",
            "default": false
          },
          "stateKey": {
            "title": "Incremental memory name",
            "type": "string",
            "description": "Optional name of the memory used by incremental mode, e.g. \"brand-a\". Different names = independent monitors."
          },
          "emitUnchanged": {
            "title": "Incremental: also output unchanged rows",
            "type": "boolean",
            "description": "With incremental mode, also output rows that did not change (changeType UNCHANGED).",
            "default": false
          },
          "emitExpired": {
            "title": "Incremental: output expired rows",
            "type": "boolean",
            "description": "With incremental mode, output one EXPIRED row for every row of the last run that is no longer found.",
            "default": false
          },
          "notifyOnlyNew": {
            "title": "Notify only when there are new rows",
            "type": "boolean",
            "description": "With incremental mode, send the notification only when the run found NEW rows.",
            "default": false
          },
          "notifyOnlyChanges": {
            "title": "Notify only on changes",
            "type": "boolean",
            "description": "With incremental mode, send the notification only when rows are NEW, UPDATED or EXPIRED.",
            "default": false
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Output only the core columns (smaller files, easier sheets).",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Drop columns that are empty on a row.",
            "default": false
          },
          "flatten": {
            "title": "Flatten for CSV",
            "type": "boolean",
            "description": "Nested objects become separate columns (parent.child), lists become comma-separated text.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Description max length",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cut long texts to this many characters. 0 = full text.",
            "default": 0
          },
          "webhookUrl": {
            "title": "Webhook URL (notification)",
            "type": "string",
            "description": "Optional: at the end of the run, POST a JSON summary (counts + first rows) to this URL (n8n, Make, Zapier...)."
          },
          "webhookHeaders": {
            "title": "Webhook headers",
            "type": "object",
            "description": "Optional extra HTTP headers for the webhook, e.g. {\"Authorization\": \"Bearer ...\"}."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Optional Slack incoming-webhook URL for a run summary."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Optional Discord webhook URL for a run summary."
          },
          "telegramToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Optional token of your own Telegram bot, used with the chat ID for a run summary."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Optional Telegram chat ID that receives the run summary."
          },
          "notificationLimit": {
            "title": "Rows in a notification",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many rows the notification lists.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages are read in parallel.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy (default group works).",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}