Get articles by industry with /v1/news/industry/{industry_id}
Get articles about a business sector with /v1/news/industry/{industry_id}. Add shared filters to narrow the results.
Each request costs 1 point. Using the prompt parameter adds 2 points; prompt requires Basic or above.
Endpoint
GET /v1/news/industry/{industry_id}
POST /v1/news/industry/{industry_id}Base URL: https://api.apitube.io. Industry IDs are integers: /v1/news/industry/312.
Industry vs. category
An industry describes the business sector affected by the news. A category describes the kind of news. For example, a factory fire can have the category disaster and the industry manufacturing. Use industries to follow markets and competitors.
Where industry IDs come from
- List of Industries — every valid numeric ID.
/v1/suggest/industriesto search by name. Each match includes alinks.selfURL.- The
industriesarray of any article in a response.
Parameters
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
industry_id | string | Yes | Industry ID. |
See Filters for all shared search filters, sorting, pagination, field selection and other request options.
Response format
The response uses the shared Response format. See API Response Structure for all article fields.
Request examples
curl "https://api.apitube.io/v1/news/industry/312?language.code=en&per_page=10&api_key=YOUR_API_KEY"
import requests
response = requests.get(
"https://api.apitube.io/v1/news/industry/312",
params={"language.code": "en", "per_page": 10},
headers={"X-API-Key": "YOUR_API_KEY"},
)
for article in response.json()["results"]:
print(article["published_at"], article["title"])
const response = await fetch(
'https://api.apitube.io/v1/news/industry/312?language.code=en&per_page=10',
{ headers: { 'X-API-Key': 'YOUR_API_KEY' } }
);
console.log((await response.json()).results.map(a => a.title));
Negative coverage of an industry this week
curl "https://api.apitube.io/v1/news/industry/312?sentiment.overall.polarity=negative&published_at.start=NOW-7DAYS&api_key=YOUR_API_KEY"Errors
| Code | Status | Meaning |
|---|---|---|
ER0150 | 404 | No industry with that ID |
ER0175 | 401 | API key is missing or invalid |
ER0176 | 402 | No points left on the account |
ER0203 | 429 | Rate limit exceeded |
See HTTP response codes for the full error list.
Related
- Articles by category and by topic for other ways to group news.
- List of Industries — every valid industry ID.
- Search articles — combine several industries with
industry.id.