The News API · Schema

The News API Article

A news article as returned by The News API.

ArticlesHeadlinesNewsMediaSearchInternational

Properties

Name Type Description
uuid string Unique identifier for the article.
title string Article headline.
description string Short description or summary of the article.
keywords string Comma-separated keywords associated with the article.
snippet string Short excerpt from the article body.
url string URL to the full article on the publisher's website.
image_url string URL to the article's featured image.
language string Language code of the article (ISO 639-1, e.g., en, es, fr).
published_at string Publication datetime in UTC (ISO 8601 format).
source string Domain name of the publishing source (e.g., cnn.com).
categories array Categories the article belongs to.
locale string Country/locale code where the article is primarily relevant (e.g., us, gb, ca).
relevance_score number Relevance score for search results (higher = more relevant). Null for non-search endpoints.
similar array Similar articles (only present in headlines response).
View JSON Schema on GitHub

JSON Schema

the-news-api-article-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/the-news-api/main/json-schema/the-news-api-article-schema.json",
  "title": "The News API Article",
  "description": "A news article as returned by The News API.",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "description": "Unique identifier for the article."
    },
    "title": {
      "type": "string",
      "description": "Article headline."
    },
    "description": {
      "type": "string",
      "description": "Short description or summary of the article."
    },
    "keywords": {
      "type": "string",
      "description": "Comma-separated keywords associated with the article."
    },
    "snippet": {
      "type": "string",
      "description": "Short excerpt from the article body."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the full article on the publisher's website."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the article's featured image.",
      "nullable": true
    },
    "language": {
      "type": "string",
      "description": "Language code of the article (ISO 639-1, e.g., en, es, fr).",
      "pattern": "^[a-z]{2}$"
    },
    "published_at": {
      "type": "string",
      "format": "date-time",
      "description": "Publication datetime in UTC (ISO 8601 format)."
    },
    "source": {
      "type": "string",
      "description": "Domain name of the publishing source (e.g., cnn.com)."
    },
    "categories": {
      "type": "array",
      "description": "Categories the article belongs to.",
      "items": {
        "type": "string",
        "enum": [
          "general",
          "business",
          "sports",
          "tech",
          "science",
          "health",
          "entertainment",
          "politics",
          "food",
          "travel"
        ]
      }
    },
    "locale": {
      "type": "string",
      "description": "Country/locale code where the article is primarily relevant (e.g., us, gb, ca)."
    },
    "relevance_score": {
      "type": "number",
      "nullable": true,
      "description": "Relevance score for search results (higher = more relevant). Null for non-search endpoints."
    },
    "similar": {
      "type": "array",
      "description": "Similar articles (only present in headlines response).",
      "items": {
        "$ref": "#"
      }
    }
  },
  "required": ["uuid", "title", "url", "published_at", "source"],
  "additionalProperties": false
}

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/the-news-api-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.