Skip to main content
POST
Search articles

Request contract

  • Method and path: POST /apis/v1/cbc-ca/news/search-articles
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/cbc-ca/news/search-articles
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required

Search keywords, for example Edmonton budget.

media
string
default:all

video restricts hits to video content.

Provider reference: allowed values ["all", "video"]; default "all".

page
number
default:1

1-based page of 10 hits. Pass the next_cursor of the previous call to continue.

Provider reference: minimum 1; maximum 100; default 1.

section
string
default:all

Site section as offered by the search page. all (default) searches every section.

Provider reference: allowed values ["all", "news", "sports", "radio", "music", "arts", "comedy", "books", "life"]; default "all".

sort
string
default:relevance

relevance (default) or newest (the search page's Most recent).

Provider reference: allowed values ["relevance", "newest"]; default "relevance".

Response

Keyword search across cbc.ca through the site's own GraphQL allSearchItems field, the backend of https://www.cbc.ca/search. Optional section filter (news, sports, radio, music, arts, comedy, books, life), sort by relevance or newest, and a video-only media filter. Fixed pages of 10 hits; total_count is the index's total for the query. Each hit carries CBC's dotted source_id (the key for get_article), title, description, canonical URL, content type, publish and last-updated instants (RFC 3339 UTC and epoch ms), bylines, category slugs and the tracking region (for example edmonton). The search index has no date-range argument: use list_articles for section or region plus date range.

The response contains the tool result directly.

The provider identifies results as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.