Web Scraping Search News API
Returns news articles ranked by what the query means, each with its publication date, its author when the page names one, and the passages that match.
GET /v1/web/search/newsLast updated December 2026Maintained by the SocialCrawl team
When to use the Web Scraping Search News API
Use it to follow a story or a brand in the news inside a strict date window. For Google News results, use google_news/search.
From the API reference
Searches news articles by what a query means, not only its words, and returns them ranked by relevance, each with its publication date and the passages that match. Use start_date and end_date for a hard publication window.
95 platforms behind one API
What can you do with the Search News API?
The Search News endpoint gives you structured Web Scraping data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# GET /v1/web/search/news: Metered: holds 7 credits per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 60: the API's own time limit for this endpoint.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 60 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/web/search/news?query=Samyang+Foods+export+award&start_date=2026-11-01&limit=10" && cat response.json# GET /v1/web/search/news: Metered: holds 7 credits per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 60 # the API's own time limit for this endpoint.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/web/search/news"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"query": "Samyang Foods export award",
"start_date": "2026-11-01",
"limit": "10",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/web/search/news: Metered: holds 7 credits per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 60_000; // the API's own time limit for this endpoint.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/web/search/news");
url.searchParams.set("query", "Samyang Foods export award");
url.searchParams.set("start_date", "2026-11-01");
url.searchParams.set("limit", "10");
const body = await socialcrawl(url);
if (body) console.log(body.data);Call GET https://www.socialcrawl.dev/v1/web/search/news from this project.
Request:
- Query parameters:
- query: Samyang Foods export award
- start_date: 2026-11-01
- limit: 10
- Header x-api-key: read the key from the SOCIALCRAWL_API_KEY environment variable. Never hard-code it, commit it or put it in a URL.
- Header Idempotency-Key: a fresh UUID per request, reused on every retry of that request, so a retried call is never charged twice.
- Client timeout: 60 seconds per attempt (the API's own time limit for this endpoint).
Price: Metered: holds 7 credits per call up front and refunds what the call does not use. Cache hits are free and failed calls are refunded. Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
Response:
- Success: { success: true, data, credits_used, credits_remaining, request_id, cached }.
- Failure: { success: false, error: { type, message, retryable }, request_id }. Branch on error.type, never on the message text.
- RESOURCE_NOT_FOUND means the target does not exist. It is refunded, so treat it as an empty result.
- Retry only when error.retryable is true, at most 3 times: wait Retry-After seconds when the header is present, otherwise back off exponentially with jitter. A SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint, so do not retry it. Retry a timed-out attempt with the same Idempotency-Key.
Before writing code, read this endpoint's live contract (0 credits):
GET https://www.socialcrawl.dev/v1/utility/endpoint?id=web/search/newsParameters
| Parameter | Required | Description |
|---|---|---|
| query | Yes | What to search for, in plain words. A full sentence describing the page you want works best. |
| mode | No | Search depth: 'fast' (quickest, cheapest), 'standard' (default) or 'deep' (several searches, for hard questions). (fast | standard | deep) |
| start_date | No | Only pages published on or after this day (YYYY-MM-DD) or time (ISO 8601). Pages with no known publication date are left out. |
| end_date | No | Only pages published on or before this day (YYYY-MM-DD) or time (ISO 8601). |
| include_domains | No | Comma-separated domains to search within, up to 50, e.g. 'nytimes.com,ft.com'. A domain covers its subdomains; paths such as 'example.com/blog' work too. |
| exclude_domains | No | Comma-separated domains to leave out, up to 50. A domain covers its subdomains (amazon.co.jp also drops www.amazon.co.jp), but not sibling domains such as amazon.com. |
| limit | No | Results to return, 1 to 100. Default 10. There are no further pages: ask for up to 100 in one call. |
| content | No | What each result carries besides its title, URL and date: 'highlights' (default, the passages that match), 'text' (the page text as markdown) or 'none'. The price is the same. (highlights | text | none) |
| country | No | Two-letter country code that results should suit, e.g. 'KR' or 'GB'. |
What does the Web Scraping Search News API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "web",
"endpoint": "/v1/web/search/news",
"data": {
"items": [
{
"page": {
"url": "https://biz.heraldcorp.com/article/10959543",
"final_url": null,
"status_code": null,
"scrape_id": null,
"fetched_at": null,
"title": "Samyang Foods becomes first Korean food company to win $1b export tower - The Herald Business",
"published_at": "2026-12-04T06:40:01.000Z",
"author": "user_892fea",
"image_url": "https://wimg.heraldcorp.com/news/cms/2026/12/04/news-p.v1.20261204.4c425dae4dd94d80b13cca0b5e801629_P1.jpg",
"content": {
"markdown": null,
"html": null,
"raw_html": null,
"summary": null
},
"media": {
"screenshot_url": null,
"audio_url": null,
"video_url": null
},
"extraction": null,
"answer": null,
"highlights": [
"by Kang Seung-yeon\n\nPublished : Dec. 4, 2026 - 15:40:01\n\n...\n\nSamyang Foods said Friday it received the \"1 Billion Dollar Export Tower\" award at the 63rd Trade Day ceremony held at COEX in Gangnam-gu, Seoul — the first food company in South Korea to win the honor.\n\nThe Export Tower award recognizes companies that have contributed to export growth, based on performance recorded from July 1 of the previous year through June 30 of the current year. Samyang Foods posted exports of $1.23 billion during that period, up 26.6 percent from a year earlier.\n\nSamyang Foods has collected the award at successive milestones since winning the $100 million tower in 2017, followed by the $200 million tower in 2018, $300 million in 2021, $400 million in 2022, $700 million in 2024 and $900 million in 2025. The company was the first in the food industry to reach every tier from $200 million through $1 billion.\n\nThe driving force has been the Buldak brand, now exported to more than 100 countries including the United States and Europe, cementing its status as a flagship K-food brand. Cumulative sales surpassed 10 billion units in May, and the product portfolio has expanded to include Buldak sauce and Tangl protein pasta.\n\nTo meet export demand, Samyang Foods brought its second Miryang factory online and completed a new factory in Jiaxing, China. The company plans to sustain export growth by leveraging the expanded production capacity alongside the local distribution networks of its overseas sales subsidiaries in the United States, China and Europe.\n\n\"Receiving the 1 Billion Dollar Export Tower is a meaningful recognition of Samyang Foods' product competitiveness and the potential of K-food in the global market,\" Chairman Kim Jung-soo said. \"We will continue to raise our quality and product competitiveness so that consumers around the world can enjoy Korean spicy flavors more easily, and we will lead the way in expanding K-food exports.\"\n\nAt the same ceremony, Executive Vice President Kim Ki-hong received the Iron Tower Industrial Medal for contributions to export growth, while Jung Eui-taek, head of the noodle production team at the Wonju factory, received a ministerial commendation from South Korea's Ministry of Trade, Industry and Resources.\n\nMeanwhile, Samyang Foods established a dedicated Latin America team within its US subsidiary earlier this year and set up a local subsidiary in Brazil in August, laying the groundwork for its push into the Latin American market. Sales in the region are expected to approach $100 million this year."
],
"change_tracking": null,
"page_count": null,
"total_page_count": null,
"fetch": {
"cache_state": null,
"cached_at": null,
"proxy_tier": null
}
}
},
{
"page": {
"url": "https://www.businesskorea.co.kr/news/articleView.html?idxno=282935",
"final_url": null,
"status_code": null,
"scrape_id": null,
"fetched_at": null,
"title": "Samyang Foods Wins $1 Billion Export Tower - Businesskorea",
"published_at": "2026-12-04T04:14:11.000Z",
"author": "user_18aeda",
"image_url": "https://www.businesskorea.co.kr/news/thumbnail/202612/282935_290963_1350_v150.jpg",
"content": {
"markdown": null,
"html": null,
"raw_html": null,
"summary": null
},
"media": {
"screenshot_url": null,
"audio_url": null,
"video_url": null
},
"extraction": null,
"answer": null,
"highlights": [
"## Buldak Brand and Broader Product Line Drive Record Overseas Growth Samyang Foods Wins '$1 Billion Export Tower,' a First for the Food Industry\n\n...\n\nSamyang Foods has become the first company in the food industry to surpass $1 billion in annual exports. Samyang Foods said it received the '$1 Billion Export Tower' at the 63rd Trade Day ceremony held at COEX in Gangnam-gu, Seoul, on Dec. 4. The award was calculated based on export performance from July 1 of the previous year to June 30 of this year, during which Samyang Foods posted exports of $1.233 billion, up 26.6% from a year earlier.\n\nThe achievement follows its receipt of the Export Tower for $700 million in 2024 and $900 million in 2025, marking a third consecutive year of winning the award. Starting with its $100 million Export Tower in 2017, the company became the first in the food industry to reach every milestone from $200 million through $1 billion, earning the honor for the seventh time overall.\n\nA key driver of export growth was the Buldak brand, which has entered more than 100 countries worldwide. The Buldak brand, which surpassed cumulative sales of 10 billion units in May, expanded demand even in the U.S. and European markets, where spicy flavors had once been unfamiliar, and has firmly established itself as a global brand.\n\nDiversification of the product portfolio also contributed to the improved performance. While strengthening a locally tailored Buldak lineup, the company expanded exports of Buldak sauce and the protein pasta brand Tangle, broadening consumer touchpoints. In particular, Buldak sauce has been increasing its applications through collaborations with local food service and distribution companies in markets including the U.S. and Thailand.\n\nSamyang Foods plans to further increase supply capacity through the start of operations at its second Miryang plant and the completion of its Jiaxing plant in China. It also intends to continue an aggressive market expansion strategy based on local distribution networks operated by its overseas sales subsidiaries in the U.S., China and Europe.\n\n...\n\nMeanwhile, at the ceremony that day, Executive Director Kim Ki-hong received the Order of Industrial Service Merit, Steel Tower, and Jeong Ui-taek, head of the noodle production team at the Wonju Plant, received a commendation from the Minister of Trade, Industry and Energy in recognition of their contributions to export growth."
],
"change_tracking": null,
"page_count": null,
"total_page_count": null,
"fetch": {
"cache_state": null,
"cached_at": null,
"proxy_tier": null
}
}
}
],
"total": null,
"dropped": 0
},
"credits_used": 7,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 10,
"typical_page_size": null,
"next_page_credits": null
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-12-06T12:30:33.228Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Web Scraping Search News API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 95 platforms covering 10B+ monthly active users.
One schema, every platform
Query 95 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat does the Web Search News API return?
When should I use the Web Search News endpoint?
How much does the Web Search News API cost?
What parameters does the Web Search News API need?
How do I call the Web Search News API?
Ask AI about SocialCrawl
Ready to scrape Web Scraping Search News data?
Get your API key and start pulling Web Scraping data in under 60 seconds.
