{
  "openapi": "3.0.1",
  "info": {
    "title": "Journalist Requests Scraper - #JournoRequest & HARO Alternative",
    "description": "Collect fresh journalist source requests (#journorequest, #prrequest, #mediarequest) from public Bluesky and Mastodon APIs and your own public RSS feeds. Outlet, deadline, topic tags, dedupe, since-date and keyword filters. No login.",
    "version": "0.1",
    "x-build-id": "V9GRyGdmhtb6HGkry"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/monriah-studio~journalist-requests/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-monriah-studio-journalist-requests",
        "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/monriah-studio~journalist-requests/runs": {
      "post": {
        "operationId": "runs-sync-monriah-studio-journalist-requests",
        "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/monriah-studio~journalist-requests/run-sync": {
      "post": {
        "operationId": "run-sync-monriah-studio-journalist-requests",
        "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": {
          "keywords": {
            "title": "Keywords (any match)",
            "type": "array",
            "description": "Keep only requests whose text contains any of these words or phrases (case-insensitive), e.g. `cybersecurity`, `personal finance`, `SaaS`. Matches are listed in `matchedKeywords`. Leave empty to get every request.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Topic categories",
            "type": "array",
            "description": "Keep only requests auto-tagged with at least one of these topics. Leave empty for all topics.",
            "items": {
              "type": "string",
              "enum": [
                "business-finance",
                "health-wellness",
                "technology",
                "lifestyle-fashion-beauty",
                "food-drink",
                "travel-leisure",
                "home-property-garden",
                "parenting-education",
                "career-workplace",
                "marketing-pr-media",
                "environment-energy",
                "legal-politics",
                "science-research",
                "entertainment-culture",
                "case-studies-real-people",
                "products-reviews",
                "podcast-guests"
              ],
              "enumTitles": [
                "Business & finance",
                "Health & wellness",
                "Technology",
                "Lifestyle, fashion & beauty",
                "Food & drink",
                "Travel & leisure",
                "Home, property & garden",
                "Parenting & education",
                "Career & workplace",
                "Marketing, PR & media",
                "Environment & energy",
                "Legal & politics",
                "Science & research",
                "Entertainment, culture & sport",
                "Case studies / real people",
                "Products & reviews (gift guides, samples)",
                "Podcast guests"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of requests to return (newest first). You pay only for results delivered.",
            "default": 100
          },
          "sinceDate": {
            "title": "Posted since",
            "type": "string",
            "description": "Only requests posted on or after this date. Use an absolute date (YYYY-MM-DD) or a relative period such as `3 days` or `24 hours`.",
            "default": "14 days"
          },
          "hideExpired": {
            "title": "Hide requests whose deadline has passed",
            "type": "boolean",
            "description": "Drop requests with a parsed deadline in the past. Requests with no stated deadline are kept.",
            "default": false
          },
          "onlyLikelyRequests": {
            "title": "Only genuine requests",
            "type": "boolean",
            "description": "Skip hashtag posts that don't read like a request (press releases, jokes, announcements). Checks for language such as 'looking for', 'seeking', 'wanted', 'deadline', 'DM me'.",
            "default": true
          },
          "excludeAggregators": {
            "title": "Exclude aggregator re-posts",
            "type": "boolean",
            "description": "Hide posts from accounts that re-post requests from other platforms (they often link to a sign-up page). Off by default; such rows are flagged with `isAggregatorPost`.",
            "default": false
          },
          "excludeReplies": {
            "title": "Exclude replies",
            "type": "boolean",
            "description": "Skip replies in threads, which are rarely new requests.",
            "default": true
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Public sources to read. Bluesky has the most volume. RSS reads only the feed URLs you add below.",
            "items": {
              "type": "string",
              "enum": [
                "bluesky",
                "mastodon",
                "rss"
              ],
              "enumTitles": [
                "Bluesky (public AppView API)",
                "Mastodon (public hashtag timelines)",
                "Your public RSS/Atom feeds"
              ]
            },
            "default": [
              "bluesky",
              "mastodon"
            ]
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags to search on Bluesky and Mastodon (without #).",
            "default": [
              "journorequest",
              "journorequests",
              "prrequest",
              "mediarequest",
              "sourcerequest"
            ],
            "items": {
              "type": "string"
            }
          },
          "includePodcastGuestRequests": {
            "title": "Include podcast guest requests",
            "type": "boolean",
            "description": "Also search #podcastguest, #podcastguests and #guestrequest.",
            "default": false
          },
          "mastodonInstances": {
            "title": "Mastodon instances",
            "type": "array",
            "description": "Instances whose public hashtag timelines are read. Large instances also show federated posts from other servers.",
            "default": [
              "mastodon.social",
              "journa.host"
            ],
            "items": {
              "type": "string"
            }
          },
          "rssFeedUrls": {
            "title": "Extra RSS/Atom feed URLs",
            "type": "array",
            "description": "Optional public RSS or Atom feeds of source requests or newsletter archives. Only add feeds you are allowed to read automatically. Every item is treated as a request. Requires the RSS source to be selected.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyNewSinceLastRun": {
            "title": "Only new requests since last run",
            "type": "boolean",
            "description": "For scheduled runs: return only requests not delivered in earlier runs. State is kept in a named key-value store.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store used by 'Only new requests'. Use a different name per schedule.",
            "default": "journalist-requests-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}