# PR Newswire Search ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/prnewswire/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/prnewswire-search | ## Description Search PR Newswire press releases by keyword or by a news-search URL. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/prnewswire/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Apple search, first release ```json { "results": [ { "id": "302924942", "url": "https://www.prnewswire.com/news-releases/pumpkin-awarded-11-000-in-donations-to-veterinary-clinics-for-cost-of-care-education-302924942.html", "image": null, "title": "Pumpkin awarded $11,000 in donations to veterinary clinics for cost-of-care education", "company": "Pumpkin Pet Insurance", "summary": "Small Animal Hospital of PA (PA) – donating to Peaceable KingdomBrilliant Veterinary Care (NY) – donating to Frankie's Feline Fund and Big Apple Cat RescueSchwenksville Veterinary Hospital (PA) – donating to ALITE FundMassapequa Pet Vet (NY) – donating to Long Island Wildlife", "company_url": "https://www.prnewswire.com/news/pumpkin-pet-insurance/", "published_at": "Oct 30, 2026, 09:06 ET" } ], "pagination": { "next": "https://www.prnewswire.com/search/news/?keyword=apple&pagesize=25&page=2", "page": 1, "per_page": 25, "total_pages": 60, "total_results": 1492 } } ``` ## Documentation ## Overview Search press releases on PR Newswire. Send a keyword such as `apple`, or a full news-search URL on prnewswire.com. The response is `{ results, pagination }`. Each result has the release id, URL, headline, publication line, summary, company, and image when the card shows them. ## Quickstart ``` GET https://api.piloterr.com/v2/prnewswire/search?query=apple GET https://api.piloterr.com/v2/prnewswire/search?query=apple&page=2 GET https://api.piloterr.com/v2/prnewswire/search?query=https://www.prnewswire.com/search/news/?keyword=climate ``` Pass `results[].url` to `/v2/prnewswire/article` to read the full release. The article id matches `results[].id`. ## Parameters | Parameter | Required | Example | |---|---|---| | `query` | yes | `apple` | | `page` | no | `2` | `query` is a keyword or a PR Newswire URL whose path contains `/search/`. A release URL (`/news-releases/...html`) is rejected. `page` starts at 1. Omit it for the first page. If `query` is a search URL that already contains `page`, that page is used when you omit `page` or pass `1`. Pass `2` or higher to override it. ## Response fields | Field | Type | Meaning | |---|---|---| | `results[].id` | string | Numeric id at the end of the release URL | | `results[].url` | string | Release URL | | `results[].title` | string | Headline | | `results[].published_at` | string or null | Dateline time printed on the card, such as `Oct 30, 2026, 09:06 ET` | | `results[].summary` | string or null | Snippet under the headline | | `results[].company` | string or null | Publisher named on the card | | `results[].company_url` | string or null | Publisher newsroom URL | | `results[].image` | string or null | Thumbnail. Null when the card has no image | | `pagination.page` | integer | Page you asked for | | `pagination.per_page` | integer | Page size, 25 | | `pagination.total_results` | integer or null | Count from the "Displaying Results" line | | `pagination.total_pages` | integer or null | `total_results` divided by the page size | | `pagination.next` | string or null | URL of the next results page, or null on the last page | ## Pagination Pages are 1-based and hold 25 releases. `next` is an `https` URL while another page exists, and null on the last page. For `apple` that last page is page 60: `page` is 60, `next` is null, and `results` holds the remaining releases (17 on the day this was checked). Ids are unique on a page. Page 2 returns a different set and sets `pagination.page` to 2, with `next` pointing at page 3. The result heading on PR Newswire is off by one after page 1 (`25-49`, then `50-74`). `pagination.page` follows the `page` you sent, and the last short window still reports `per_page` 25 so `total_pages` does not grow past the end. ## Use cases - A veterinary trade desk watches `pet insurance` and stores `company` plus `published_at` before opening the release. - An investor-relations researcher pages through `apple` and keeps only `id` and `url` for a later full-text read. - A climate newsletter calls `query=climate`, follows `pagination.next`, and stops when `next` is null. ## Error codes | Code | Meaning | |---|---| | `400` | Empty query, a host other than prnewswire.com, or a release URL sent to search | | `401` | Missing API key | | `404` | The page had no release cards | | `500` | The fetch failed | ## Related endpoints [PR Newswire Article](https://www.piloterr.com/library/prnewswire-article)