TweetFeed Trends API
The Trends API from TweetFeed — 1 operation(s) for trends.
The Trends API from TweetFeed — 1 operation(s) for trends.
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/tweetfeed-live:tweetfeed-live-trends-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: TweetFeed Trends API
description: 'Public REST API for TweetFeed (https://tweetfeed.live), a real-time aggregator of
Indicators of Compromise (IOCs) - URLs, domains, IPs and file hashes - shared by
the infosec community on Twitter/X.
The dataset is refreshed every 15 minutes by scraping RSS feeds from a curated
list of ~95 security researchers plus security-related hashtags. Coverage starts
2021-08-09. All data is released under CC0 1.0 Universal (public domain
dedication) - no attribution required, no warranty.
All endpoints:
- Require no authentication.
- Set `Access-Control-Allow-Origin: *` (CORS open).
- Cache responses at the CF edge: 300 s for `/v1/{time}`, `/v1/campaigns`,
`/v1/campaigns/{id}` (plain, `.csv` and `.stix.json`), `/v1/campaigns/iocs`,
`/v1/trends` and `/v1/counts` (`stale-while-revalidate=600,
stale-if-error=86400`); 60 s for `/v1/ioc` and `/v1/manifest` (same
conditional-request behaviour as `/v1/counts`); 30 s for `/v1/since`;
15 min for `/v1/blocklist` (all with `stale-while-revalidate`).
`/v1/status` is the exception: it is computed fresh on every request,
never served from cache, and never conditional - `max-age=60` only, no
`ETag`-based revalidation.
- Return JSON arrays (one object per IOC), one schema for every route.
For Threat Intelligence agent integrations there is also a Model Context Protocol
server at `https://mcp.tweetfeed.live/` (JSON-RPC 2.0, 14 tools).'
version: '1.0'
contact:
name: TweetFeed
url: https://github.com/0xDanielLopez/TweetFeed/issues
license:
name: CC0 1.0 Universal
url: https://creativecommons.org/publicdomain/zero/1.0/
servers:
- url: https://api.tweetfeed.live
description: Production
tags:
- name: Trends
paths:
/v1/trends:
get:
operationId: getTrends
summary: Community IOC trend analytics
description: 'Returns the trends document: a rolling 31-day daily IOC volume series
(with a per-type breakdown), week-over-week top movers by tag, the
most-abused TLDs among malicious domains from the last 30 days, and
the novelty rate (share of this week''s distinct IOC values that are
new versus recurring). Regenerated alongside the rest of the feed.'
parameters:
- $ref: '#/components/parameters/IfNoneMatch'
- $ref: '#/components/parameters/IfModifiedSince'
responses:
'200':
description: Trends document.
headers:
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/LastModified'
content:
application/json:
schema:
$ref: '#/components/schemas/TrendsDocument'
'304':
$ref: '#/components/responses/NotModified'
tags:
- Trends
components:
parameters:
IfNoneMatch:
name: If-None-Match
in: header
required: false
description: 'Conditional GET, strong validator. Send back the `ETag` value from a
previous response; a match returns `304 Not Modified` with an empty
body. This is the recommended validator - unlike `Last-Modified`, it
changes only when the response body actually changes, not every time
it is recomputed. Per RFC 7232 section 6, if both `If-None-Match` and
`If-Modified-Since` are sent, `If-None-Match` takes precedence and
`If-Modified-Since` is ignored.
'
schema:
type: string
example: '"a1b2c3d4e5f60718"'
IfModifiedSince:
name: If-Modified-Since
in: header
required: false
description: 'Conditional GET, timestamp validator. Send back the `Last-Modified`
value from a previous response; if the representation has not
changed since, returns `304 Not Modified` with an empty body. Weaker
than `If-None-Match`: `Last-Modified` reflects when this Worker
cached the representation, not when the underlying data last
changed, so it only saves a round trip while that cache entry is
still alive. Ignored if `If-None-Match` is also present (RFC 7232
section 6).
'
schema:
type: string
format: date-time
example: Sun, 06 Jul 2026 08:49:37 GMT
responses:
NotModified:
description: 'The client''s cached copy is still current (matched via
`If-None-Match` or `If-Modified-Since`). No body is returned.
'
headers:
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/LastModified'
headers:
LastModified:
description: 'When this Worker cached the representation being returned - not
when the underlying data last changed (recomputed on every
pipeline tick, so it moves even on a byte-identical body). Echo it
back as `If-Modified-Since` to get a `304` while that cache entry
is still alive. `ETag` / `If-None-Match` is the stronger, recommended
validator; see its description for the RFC 7232 section 6
precedence rule.
'
schema:
type: string
example: Sun, 06 Jul 2026 08:49:37 GMT
ETag:
description: 'Strong validator (quoted hex string) for this exact response body.
Echo it back as `If-None-Match` on the next request to this URL to
get a `304` instead of re-downloading the body.
'
schema:
type: string
example: '"a1b2c3d4e5f60718"'
schemas:
TrendsDocument:
type: object
description: 'Trends analytics document. Loosely typed here - see
https://tweetfeed.live/trends/ for the human-readable rendering.
'
properties:
daily:
type: object
description: '31 days of totals plus a per-IOC-type breakdown (url/domain/ip/
sha256/md5), used for the rolling 30-day volume chart.
'
movers:
type: object
description: Current vs previous 7-day tag counts, ranked by change magnitude.
properties:
current_range:
type: array
items:
type: string
format: date
description: First and last UTC day of the current 7-day window.
example:
- '2026-11-06'
- '2026-11-12'
previous_range:
type: array
items:
type: string
format: date
description: First and last UTC day of the 7 days before it.
example:
- '2026-10-30'
- '2026-11-05'
tags:
type: array
items:
type: object
properties:
tag:
type: string
example: vidar
count:
type: integer
description: IOCs with this tag in the current window.
example: 21
previous:
type: integer
description: IOCs with this tag in the previous window.
example: 0
delta:
type: integer
description: count minus previous.
example: 21
pct:
type: number
nullable: true
description: Percent change; null when previous is 0 (new tag).
tweets:
type: integer
description: 'Distinct source tweets behind `count` (since 2026-11-11).
A large swing with `tweets: 1` is one report, not a trend.
'
example: 1
previous_tweets:
type: integer
description: Distinct source tweets behind `previous`.
example: 0
reporters:
type: integer
description: Distinct reporting accounts behind `count` (a counter; no handles).
example: 1
previous_reporters:
type: integer
description: Distinct reporting accounts behind `previous`.
example: 0
tlds:
type: object
description: Top TLDs among malicious domains from the last 30 days.
novelty:
type: object
description: 'Share of this week''s distinct IOC values that are new versus
recurring.
'
externalDocs:
description: API guide with copy-paste examples and FAQ.
url: https://tweetfeed.live/api/