TheNewsAPI · Example Payload

Get Sources

Example request and response for listing available technology news sources using the /news/sources endpoint.

NewsArticlesHeadlinesMediaAggregationReal-Time

Get Sources is an example object payload from TheNewsAPI, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Get Sources - Technology Sources in English",
  "description": "Example request and response for listing available technology news sources using the /news/sources endpoint.",
  "request": {
    "method": "GET",
    "url": "https://api.thenewsapi.com/v1/news/sources",
    "parameters": {
      "api_token": "YOUR_API_TOKEN",
      "categories": "tech",
      "language": "en",
      "page": 1
    }
  },
  "response": {
    "status": 200,
    "body": {
      "meta": {
        "found": 1847,
        "returned": 50,
        "limit": 50,
        "page": 1
      },
      "data": [
        {
          "source_id": "techcrunch-us-en",
          "domain": "techcrunch.com",
          "language": "en",
          "locale": "us",
          "categories": ["tech", "business"]
        },
        {
          "source_id": "wired-us-en",
          "domain": "wired.com",
          "language": "en",
          "locale": "us",
          "categories": ["tech", "science", "entertainment"]
        },
        {
          "source_id": "theverge-us-en",
          "domain": "theverge.com",
          "language": "en",
          "locale": "us",
          "categories": ["tech", "entertainment"]
        },
        {
          "source_id": "arstechnica-us-en",
          "domain": "arstechnica.com",
          "language": "en",
          "locale": "us",
          "categories": ["tech", "science"]
        },
        {
          "source_id": "zdnet-us-en",
          "domain": "zdnet.com",
          "language": "en",
          "locale": "us",
          "categories": ["tech", "business"]
        }
      ]
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/get-sources"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.