Endpoint and access
Contract preview · access requires enablementPOST https://allthemapis.com/api/v1/news/searchThis is our proposed customer-facing interface. Provider fulfillment and category-specific keys are not enabled yet. Calls currently return 503 integration_not_enabled; they do not execute a query or spend credits. Existing Search API trial keys do not unlock this category.
Request access for your workload before connecting an application.
Request fields
| Field | Type | Meaning |
|---|---|---|
| query | string, required | Topic or entity query; do not assume identical Boolean semantics across providers. |
| language | string | Two-letter language code. |
| from | ISO 8601 datetime | Inclusive publication-time lower bound in UTC. |
| to | ISO 8601 datetime | Publication-time upper bound in UTC. |
| limit | integer | 1 to 50 records, subject to access. |
| cursor | string | Opaque continuation token returned by the previous page. |
curl -X POST "https://allthemapis.com/api/v1/news/search" \
-H "Authorization: Bearer $ALLTHEMAPIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "\"battery recycling\"",
"language": "en",
"from": "2026-10-01T00:00:00Z",
"to": "2026-10-02T00:00:00Z",
"limit": 10
}'The example defines the contract; it is not a completed API call.
Response fields and errors
| Field | Meaning |
|---|---|
| articles[] | Title, source URL, publisher, language, publication time and available excerpt. |
| next_cursor | Opaque continuation token or null; never a promise of complete archive coverage. |
| retrieved_at | Time of retrieval, distinct from article publication. |
| request_id | Request identifier. Full-text rights are not implied by this contract. |
{
"error": {
"code": "integration_not_enabled",
"message": "This API requires access enablement. No request has been executed or billed."
},
"access_url": "https://allthemapis.com/api-categories/news/api#request-access"
}No synthetic response is returned as live data. Pricing, production quotas and content-use rights must be confirmed before activation.
Give the contract to your coding agent
This prompt prepares an adapter without treating a fixture as a successful live request.
Prepare an integration for the All Them APIs news apis contract.
Endpoint: POST https://allthemapis.com/api/v1/news/search
Request shape:
{
"query": "\"battery recycling\"",
"language": "en",
"from": "2026-10-01T00:00:00Z",
"to": "2026-10-02T00:00:00Z",
"limit": 10
}
This category requires access enablement and currently returns HTTP 503 integration_not_enabled. Do not execute requests or claim success until access is confirmed.
Read ALLTHEMAPIS_API_KEY from a server-side environment variable only. Never place it in browser code, URLs or logs. Use a bounded timeout, handle 401/429/503 explicitly, and keep null/missing fields distinct from valid zero values. Do not retry indefinitely.
Expected output fields:
- articles[]: Title, source URL, publisher, language, publication time and available excerpt.
- next_cursor: Opaque continuation token or null; never a promise of complete archive coverage.
- retrieved_at: Time of retrieval, distinct from article publication.
- request_id: Request identifier. Full-text rights are not implied by this contract.
Build the adapter and unit tests against an explicitly labeled local fixture. Do not fabricate live results. Summarize what access and production verification are still required.Request access to news APIs
Tell us the coverage and volume you need. We will confirm availability and terms before enabling access. This request does not take a payment or create an API key.