News API website screenshot

News API

Locate articles and breaking news headlines from news sources and blogs across the web with our JSON API.

1 APIs 0 Features
NewsArticlesHeadlinesSearch

APIs

News API

Locate articles and breaking news headlines from news sources and blogs across the web with our JSON API.

Collections

News API

OPEN

GraphQL

NewsAPI GraphQL Schema

Conceptual GraphQL schema for the [NewsAPI](https://newsapi.org/) news aggregation REST API. NewsAPI provides access to breaking headlines and a searchable index of articles fro...

GRAPHQL

Pricing Plans

News Api Plans Pricing

3 plans

PLANS

Rate Limits

News Api Rate Limits

5 limits

RATE LIMITS

FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: News API
  version: 2.0.0
request:
  auth:
    type: apikey
    key: apiKey
    value: '{{apiKey}}'
    placement: query
items:
- info:
    name: Articles
    type: folder
  items:
  - info:
      name: Search all articles
      type: http
    http:
      method: GET
      url: https://newsapi.org/v2/everything
      params:
      - name: q
        value: ''
        type: query
        description: Keywords or phrases to search for in article title and body.
      - name: searchIn
        value: ''
        type: query
        description: Fields to restrict the q search to. Comma-separated list of title, description, content.
      - name: sources
        value: ''
        type: query
        description: Comma-separated string of identifiers for the news sources or blogs (max 20).
      - name: domains
        value: ''
        type: query
        description: Comma-separated string of domains to restrict the search to.
      - name: excludeDomains
        value: ''
        type: query
        description: Comma-separated string of domains to remove from results.
      - name: from
        value: ''
        type: query
        description: A date and optional time for the oldest article allowed (ISO 8601).
      - name: to
        value: ''
        type: query
        description: A date and optional time for the newest article allowed (ISO 8601).
      - name: language
        value: ''
        type: query
        description: The 2-letter ISO-639-1 code of the language.
      - name: sortBy
        value: ''
        type: query
        description: The order to sort articles in.
      - name: pageSize
        value: ''
        type: query
        description: The number of results to return per page.
      - name: page
        value: ''
        type: query
        description: Use this to page through the results.
    docs: Search through millions of articles from over 150,000 large and small news sources and blogs.
- info:
    name: Headlines
    type: folder
  items:
  - info:
      name: Get top breaking news headlines
      type: http
    http:
      method: GET
      url: https://newsapi.org/v2/top-headlines
      params:
      - name: country
        value: ''
        type: query
        description: The 2-letter ISO 3166-1 code of the country to get headlines for.
      - name: category
        value: ''
        type: query
        description: The category to get headlines for.
      - name: sources
        value: ''
        type: query
        description: Comma-separated string of identifiers for news sources or blogs.
      - name: q
        value: ''
        type: query
        description: Keywords or phrases to search for in article title and body.
      - name: pageSize
        value: ''
        type: query
        description: The number of results to return per page (max 100).
      - name: page
        value: ''
        type: query
        description: Use this to page through the results.
    docs: Provides live top and breaking headlines for a country, specific category in a country, single source, or multiple
      sources.
- info:
    name: Sources
    type: folder
  items:
  - info:
      name: Get available news sources
      type: http
    http:
      method: GET
      url: https://newsapi.org/v2/top-headlines/sources
      params:
      - name: category
        value: ''
        type: query
        description: Filter sources by category.
      - name: language
        value: ''
        type: query
        description: Filter sources by language (2-letter ISO-639-1 code).
      - name: country
        value: ''
        type: query
        description: Filter sources by country (2-letter ISO 3166-1 code).
    docs: Returns the subset of news publishers that top headlines are available from.
bundled: true