NewsAPI News Get Sources
2 credits/call
ae_news_get_sources
Browse News API publishers available for top headlines, filtered by country, category, or language.
2 credits/call
Pricing
2 credits/call
| Condition | Charge |
|---|---|
| Each call | 2 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
country | enum (ae | ar | at | au | be | bg | br | ca | ch | cn | co | cu | cz | de | eg | fr | gb | gr | hk | hu | id | ie | il | in | it | jp | kr | lt | lv | ma | mx | my | ng | nl | no | nz | ph | pl | pt | ro | rs | ru | sa | se | sg | si | sk | th | tr | tw | ua | us | ve | za) | No | Find sources that display news in a specific country. Default: all countries. | — |
category | enum (business | entertainment | general | health | science | sports | technology) | No | Find sources that display news of this category. | — |
language | enum (ar | de | en | es | fr | he | it | nl | no | pt | ru | sv | ud | zh) | No | Find sources that display news in a specific language. Default: all languages. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_news_get_sources' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {}
}'Response exampleresponse.json
{
"sources": [
{
"category": "general",
"country": "us",
"description": "Your trusted source for breaking news, analysis, exclusive interviews, headlines, and videos at ABCNews.com.",
"id": "abc-news",
"name": "ABC News",
"url": "https://abcnews.go.com"
}
],
"status": "ok"
}This example shows part of the response. Copied content is valid JSON.







