Barchart News and Filings API

The News and Filings API from Barchart — 4 operation(s) for news and filings.

GitHub OpenAPI

Operations 2

GET /getNewsSources.json getNewsSources #
GET /getNewsCategories.json getNewsCategories #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/barchart:barchart-news-and-filings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.

OpenAPI Specification

barchart-news-and-filings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OnDemand News and Filings API
  version: 1.0.1
  description: Barchart features a diverse set of market and information APIs that can be easily integrated into your website. Whether you're looking for a small, medium, large or enterprise solution, we'll create a custom package for you that exceeds your expectations.
  contact:
    name: onDemand API Support
    url: https://www.barchart.com/ondemand
    email: support@barchart.com
  termsOfService: https://www.barchart.com/solutions/company/terms-and-privacy
servers:
- url: https://ondemand.websol.barchart.com
tags:
- name: News and Filings
paths:
  /getNewsSources.json:
    get:
      tags:
      - News and Filings
      summary: getNewsSources
      operationId: get-getNewsSources
      description: The getNewsSources API from Barchart OnDemand provides access to public news sources and your authorization status per source.
      parameters:
      - in: query
        name: apikey
        description: Enter the secret API key.
        required: true
        schema:
          type: string
          example: YOUR_API_KEY
      - in: query
        name: strict
        description: Return only the authorized news sources.
        required: false
        schema:
          type: string
          example: 'true'
      responses:
        '200':
          description: OK (Success)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: object
                    description: The status object when an error occurs or when a response is successful.
                    required:
                    - code
                    - message
                    properties:
                      code:
                        description: The status code of the response.
                        type: integer
                        example: 200
                      message:
                        description: The status message corresponding to the status code.
                        type: string
                        example: Success.
                  results:
                    description: The results object of the API operation.
                    type: array
                    uniqueItems: true
                    items:
                      type: object
                      properties:
                        id:
                          description: The Id of the news source.
                          type:
                          - string
                          - 'null'
                          example: AGCOM
                        name:
                          description: The name of the news source.
                          type:
                          - string
                          - 'null'
                          example: Agriculture.com
                        permission:
                          description: Your permission status for this news source.
                          type:
                          - string
                          - 'null'
                          example: 'false'
                      required:
                      - id
                      - name
                      - permission
        '204':
          description: No Content
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
  /getNewsCategories.json:
    get:
      tags:
      - News and Filings
      summary: getNewsCategories
      operationId: get-getNewsCategories
      description: Barchart OnDemand's getNewsCategories API provides access to news source category and sub-category data.
      parameters:
      - in: query
        name: apikey
        description: Enter the secret API key.
        required: true
        schema:
          type: string
          example: YOUR_API_KEY
      - in: query
        name: sources
        description: An id or code that identifies a news source. Multiple sources separated by a comma may be used.
        required: false
        schema:
          type: string
          example: AP,CMTX,USDA
      - in: query
        name: depth
        description: An integer that will limit how many levels of the category tree to show. By default all levels are returned.
        required: false
        schema:
          type: integer
          example: 2
      responses:
        '200':
          description: OK (Success)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: object
                    description: The status object when an error occurs or when a response is successful.
                    required:
                    - code
                    - message
                    properties:
                      code:
                        description: The status code of the response.
                        type: integer
                        example: 200
                      message:
                        description: The status message corresponding to the status code.
                        type: string
                        example: Success.
                  results:
                    description: The results object of the API operation.
                    type: array
                    uniqueItems: true
                    items:
                      type: object
                      properties:
                        category:
                          description: The category symbol.
                          type:
                          - string
                          - 'null'
                          example: Futures
                        subcategories:
                          description: The sub-categories.
                          type:
                          - array
                          - 'null'
                          items:
                            properties:
                              category:
                                type: object
                                example:
                                  name: Dairy
                                  symbol: DRY
                      required:
                      - category
        '204':
          description: No Content
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
x-provenance:
  method: harvested
  publisher: Barchart
  source: https://ondemand.websol.barchart.com/openapi.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json); stamped by stamp-openapi-provenance.py (roadmap#793)