NewsAPI · Schema

Article

A news article returned by the NewsAPI

NewsHeadlinesArticlesSearchMediaContentRESTJSON

Properties

Name Type Description
source object The news source or blog that the article originated from
author stringnull The author of the article.
title string The headline or title of the article.
description stringnull A description or snippet from the article.
url string The direct URL to the article.
urlToImage stringnull The URL to a relevant image for the article.
publishedAt string The date and time that the article was published, in UTC.
content stringnull The unformatted content of the article, truncated to 200 characters.
View JSON Schema on GitHub

JSON Schema

newsapi-article-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/newsapi/main/json-schema/newsapi-article-schema.json",
  "title": "Article",
  "description": "A news article returned by the NewsAPI",
  "type": "object",
  "properties": {
    "source": {
      "type": "object",
      "description": "The news source or blog that the article originated from",
      "properties": {
        "id": {
          "type": ["string", "null"],
          "description": "The identifier of the news source. Can be used with other endpoints.",
          "example": "techcrunch"
        },
        "name": {
          "type": "string",
          "description": "The display name of the news source.",
          "example": "TechCrunch"
        }
      },
      "required": ["name"]
    },
    "author": {
      "type": ["string", "null"],
      "description": "The author of the article.",
      "example": "Jane Doe"
    },
    "title": {
      "type": "string",
      "description": "The headline or title of the article.",
      "example": "Apple Reports Record Quarterly Earnings"
    },
    "description": {
      "type": ["string", "null"],
      "description": "A description or snippet from the article.",
      "example": "Apple Inc. reported record quarterly earnings today, beating analyst expectations."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The direct URL to the article.",
      "example": "https://techcrunch.com/2024/01/15/apple-earnings"
    },
    "urlToImage": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "The URL to a relevant image for the article.",
      "example": "https://techcrunch.com/images/apple-earnings.jpg"
    },
    "publishedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the article was published, in UTC.",
      "example": "2024-01-15T18:00:00Z"
    },
    "content": {
      "type": ["string", "null"],
      "description": "The unformatted content of the article, truncated to 200 characters.",
      "example": "Apple Inc. reported record quarterly earnings today... [+4500 chars]"
    }
  },
  "required": ["source", "title", "url", "publishedAt"]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/newsapi-article"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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