AIHOT Agent API
The Agent API from AIHOT — 11 operation(s) for agent.
The Agent API from AIHOT — 11 operation(s) for agent.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/aihot-news:aihot-news-agent-api"
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.
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: 3.2.0
info:
title: '{{siteName}} Public Agent API'
version: '{{version}}'
description: 'Anonymous, read-only API for clients and Agents. No API key is required.
Picking an endpoint: answer a person''s question inside an AI agent -> read /api/v1/agent, which lists Markdown addresses made for agents. Show recent or today''s items -> /api/v1/items. Show what is trending right now -> /api/v1/hot-topics. Show the daily digest -> /api/v1/dailies/latest; the weekly and monthly reports -> /api/v1/weeklies/latest and /api/v1/monthlies/latest. Keep a complete local copy of the selected set -> /api/v1/selected/snapshot once, then /api/v1/selected/changes forever.
How often to poll: use each response''s Cache-Control s-maxage as the minimum interval, and always send If-None-Match: an unchanged resource answers 304 with an empty body. On 429 or 503, honour Retry-After. There is no push channel (no SSE, webhooks or streaming): poll on an interval.
Keep responses small: send Accept-Encoding: gzip or br (curl --compressed). To follow new items, page back only until you reach an id you already have instead of re-reading the whole 7-day window on every poll; to keep every selected item, read /api/v1/selected/snapshot once and then only /api/v1/selected/changes.
Report dates, weeks and months identify fixed editions, but corrections and withdrawn citations can change their public content. Revalidate retained copies with If-None-Match after Cache-Control expires; do not treat a dated report as immutable.
Titles and summaries are generated from third-party sources; the original is always linked in links.original.'
termsOfService: '{{siteUrl}}/terms'
servers:
- url: '{{siteUrl}}'
tags:
- name: Agent
paths:
/api/v1/agent:
get:
operationId: agentGuide
summary: Usage guide for AI agents
description: 'Markdown that tells an AI agent which /api/v1/agent address answers which kind of question, how to present results and the usage rules. Agents read these addresses and never need updating: new abilities are added here as new addresses.'
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/latest:
get:
operationId: agentLatest
summary: Latest items as an agent answer
description: 'The same items as /api/v1/items (timeline order), rendered for an agent to relay: titles linked to {{siteName}}, source, Beijing time, summary and reason. Defaults to the editorial picks of the past 24 hours, 10 items.'
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: window
in: query
schema:
type: string
enum:
- 24h
- 7d
default: 24h
- name: mode
in: query
schema:
type: string
enum:
- selected
- all
default: selected
- name: category
in: query
schema:
type: string
enum:
- '{{categories}}'
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 30
default: 10
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/search:
get:
operationId: agentSearch
summary: Search as an agent answer
description: Searches the editorial picks first and, only when they have nothing, every public item, and says which. Defaults to the latest 7 days.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: q
in: query
required: true
schema:
type: string
minLength: 2
maxLength: 200
- name: window
in: query
schema:
type: string
enum:
- 24h
- 7d
default: 7d
- name: category
in: query
schema:
type: string
enum:
- '{{categories}}'
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 30
default: 10
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/hot:
get:
operationId: agentHot
summary: Current hot topics as an agent answer
description: The current Top 10 by rank, each with the address of its story answer. No heat values.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 10
default: 10
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/stories/{publicId}:
get:
operationId: agentStory
summary: A story's timeline as an agent answer
description: Latest development, AI digest, reports from newest to oldest and related stories. Only use addresses given by /api/v1/agent/hot or another story answer.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: publicId
in: path
required: true
schema:
type: string
maxLength: 128
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 50
default: 20
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/daily:
get:
operationId: agentLatestDaily
summary: The latest daily report as an agent answer
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/daily/{date}:
get:
operationId: agentDaily
summary: A dated daily report as an agent answer
description: A real YYYY-MM-DD date; a date without a report is 404, never another day's report.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: date
in: path
required: true
schema:
type: string
format: date
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/weekly:
get:
operationId: agentWeekly
summary: The latest weekly report as an agent answer
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
description: 'The most recent weekly report in Chinese Markdown: headline, overview and the week''s most important items by section, with answering hints.'
tags:
- Agent
/api/v1/agent/weekly/{week}:
get:
operationId: agentWeeklyByWeek
summary: A weekly report as an agent answer
description: A real ISO week such as 2026-W39; a week without a report is 404, never another week's report.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: week
in: path
required: true
schema:
type: string
pattern: ^\d{4}-W\d{2}$
description: ISO week label, e.g. 2026-W39.
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
/api/v1/agent/monthly:
get:
operationId: agentMonthly
summary: The latest monthly report as an agent answer
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
description: 'The most recent monthly report in Chinese Markdown: headline, overview and the month''s most important items by section, with answering hints.'
tags:
- Agent
/api/v1/agent/monthly/{month}:
get:
operationId: agentMonthlyByMonth
summary: A monthly report as an agent answer
description: A real month such as 2026-09; a month without a report is 404, never another month's report.
parameters:
- $ref: '#/components/parameters/ActorUserAgent'
- $ref: '#/components/parameters/IfNoneMatch'
- name: month
in: path
required: true
schema:
type: string
pattern: ^\d{4}-\d{2}$
description: Calendar month, e.g. 2026-09.
responses:
'200':
$ref: '#/components/responses/AgentMarkdown'
'304':
$ref: '#/components/responses/NotModified'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- Agent
components:
schemas:
Problem:
type: object
required:
- type
- title
- status
- detail
- code
- requestId
properties:
type:
type: string
title:
type: string
status:
type: integer
detail:
type: string
code:
type: string
requestId:
type: string
retryAfter:
type: integer
minimum: 1
description: Minimum number of seconds to wait before retrying (present on 429 and 503 responses).
responses:
MethodNotAllowed:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NotModified:
description: Not Modified
headers:
ETag:
schema:
type: string
Cache-Control:
schema:
type: string
BadRequest:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Unavailable:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
Retry-After:
description: Minimum number of seconds to wait before retrying.
schema:
type: integer
minimum: 1
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Forbidden:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
RateLimited:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
Retry-After:
description: Minimum number of seconds to wait before retrying.
schema:
type: integer
minimum: 1
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
AgentMarkdown:
description: 'Markdown for an AI agent: a heading, the data fenced off as untrusted external content, then answer hints (回答提示). The wording may improve at any time; programs should read the JSON endpoints instead.'
headers:
ETag:
schema:
type: string
Cache-Control:
schema:
type: string
content:
text/markdown:
schema:
type: string
NotFound:
description: Machine-readable problem response.
headers:
X-Request-Id:
description: Support correlation identifier for this failed request.
schema:
type: string
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
parameters:
ActorUserAgent:
name: User-Agent
in: header
required: false
description: The client's normal User-Agent (optional; any value works).
schema:
type: string
maxLength: 2048
example: my-reader/1.0
IfNoneMatch:
name: If-None-Match
in: header
required: false
description: Previously received ETag for this exact URL. A match returns 304 without a response body.
schema:
type: string
externalDocs:
description: Machine-readable OpenAPI document
url: '{{siteUrl}}/openapi-v1.json'