TweetFeed Since API

The Since API from TweetFeed — 3 operation(s) for since.

GitHub OpenAPI

Operations 3

GET /v1/since/{datetime} List IOCs added since an ISO 8601 datetime #
GET /v1/since/{datetime}/{filter1} List IOCs since a datetime, filtered once #
GET /v1/since/{datetime}/{filter1}/{filter2} List IOCs since a datetime, two filters AND-ed #

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/tweetfeed-live:tweetfeed-live-since-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. 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 Specification

tweetfeed-live-since-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TweetFeed Since 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: Since
paths:
  /v1/since/{datetime}:
    get:
      operationId: getIocsSince
      summary: List IOCs added since an ISO 8601 datetime
      description: 'Returns IOCs whose `date` is after the given ISO 8601 timestamp.

        `date` is the time of the tweet, not the time TweetFeed added the

        row. Designed for delta-syncing a blocklist or Threat Intelligence

        pipeline without re-pulling the full window.


        **Rows can arrive late, so resume with an overlap.** A row can arrive

        after rows with a newer `date` (a slow source, or a backfill after a

        source outage). Measured from 2 to 16 November 2026: 19 % of the new

        rows arrived behind the newest `date` already published, by up to 25

        hours; one backfill added rows up to 4.5 days behind. Do not use the

        newest `date` you saw as your next `since`: you lose the late rows.

        For the next scheduled pull, use `since` = the last

        `X-Result-Window-End` minus 48 hours, and remove duplicates with the

        key `(date, user, type, value)`. Once a day, pull `/v1/week` and

        remove duplicates with the same key, to catch rows from a backfill

        (up to 5 days late; a weekly pull lost rows when replayed on the

        November data).


        Strict ISO 8601 required (`Z` UTC suffix or `+HH:MM` offset; ambiguous

        local-time forms are rejected). Edge cases:

        - Future timestamp - `200` with `[]` body.

        - Timestamp older than 365 days - `410 Gone`.

        - Malformed, or `defang` present but not `1`/`true`/`0`/`false` - `400`.


        **Reaches back 30 days, not 365.** This endpoint is served from the

        30-day window file; the full year is too large to scan inside the

        Worker''s CPU budget. A `since` older than that still returns `200`

        with the 30 days it can serve, and says so with

        `X-Result-Window-Incomplete: true` plus an `X-Result-Window-Start`

        showing where the data really begins - it is never silently short.

        For a deeper backfill fetch `https://tweetfeed.live/feeds/year.csv`

        (365 days, uncapped) once, then switch to this endpoint for the

        incremental updates it is built for.


        **Result cap: 10 000 rows**, same as `/v1/{time}` but truncated from the

        opposite end. This endpoint returns rows oldest-first, so the cap drops

        the NEWEST ones and you are left with a contiguous block starting at your

        `since`. That is what makes it safe to page: when `X-Result-Truncated`

        is present, pass `X-Result-Window-End` back as the next `since` and

        repeat until the header stops appearing.'
      parameters:
      - $ref: '#/components/parameters/DateTime'
      - $ref: '#/components/parameters/Defang'
      - $ref: '#/components/parameters/IfNoneMatch'
      - $ref: '#/components/parameters/IfModifiedSince'
      responses:
        '200':
          description: JSON array of IOCs.
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            Last-Modified:
              $ref: '#/components/headers/LastModified'
            X-Result-Count:
              $ref: '#/components/headers/ResultCount'
            X-Result-Truncated:
              $ref: '#/components/headers/ResultTruncated'
            X-Result-Window-Start:
              $ref: '#/components/headers/ResultWindowStart'
            X-Result-Window-End:
              $ref: '#/components/headers/ResultWindowEnd'
            X-Result-Window-Incomplete:
              $ref: '#/components/headers/ResultWindowIncomplete'
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Ioc'
        '304':
          $ref: '#/components/responses/NotModified'
        '400':
          description: 'Malformed ISO 8601 timestamp, or `defang` present but not `1`,

            `true`, `0` or `false` (in the latter case, JSON body

            `{"error": "defang must be 1 or 0"}`).

            '
        '410':
          description: Timestamp older than the 365 day retention window.
      tags:
      - Since
  /v1/since/{datetime}/{filter1}:
    get:
      operationId: getIocsSinceFilter
      summary: List IOCs since a datetime, filtered once
      parameters:
      - $ref: '#/components/parameters/DateTime'
      - $ref: '#/components/parameters/Filter1'
      - $ref: '#/components/parameters/Defang'
      - $ref: '#/components/parameters/IfNoneMatch'
      - $ref: '#/components/parameters/IfModifiedSince'
      responses:
        '200':
          description: JSON array of IOCs.
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            Last-Modified:
              $ref: '#/components/headers/LastModified'
            X-Result-Count:
              $ref: '#/components/headers/ResultCount'
            X-Result-Truncated:
              $ref: '#/components/headers/ResultTruncated'
            X-Result-Window-Start:
              $ref: '#/components/headers/ResultWindowStart'
            X-Result-Window-End:
              $ref: '#/components/headers/ResultWindowEnd'
            X-Result-Window-Incomplete:
              $ref: '#/components/headers/ResultWindowIncomplete'
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Ioc'
        '304':
          $ref: '#/components/responses/NotModified'
        '400':
          $ref: '#/components/responses/DefangInvalid'
      tags:
      - Since
  /v1/since/{datetime}/{filter1}/{filter2}:
    get:
      operationId: getIocsSinceTwoFilters
      summary: List IOCs since a datetime, two filters AND-ed
      parameters:
      - $ref: '#/components/parameters/DateTime'
      - $ref: '#/components/parameters/Filter1'
      - $ref: '#/components/parameters/Filter2'
      - $ref: '#/components/parameters/Defang'
      - $ref: '#/components/parameters/IfNoneMatch'
      - $ref: '#/components/parameters/IfModifiedSince'
      responses:
        '200':
          description: JSON array of IOCs.
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            Last-Modified:
              $ref: '#/components/headers/LastModified'
            X-Result-Count:
              $ref: '#/components/headers/ResultCount'
            X-Result-Truncated:
              $ref: '#/components/headers/ResultTruncated'
            X-Result-Window-Start:
              $ref: '#/components/headers/ResultWindowStart'
            X-Result-Window-End:
              $ref: '#/components/headers/ResultWindowEnd'
            X-Result-Window-Incomplete:
              $ref: '#/components/headers/ResultWindowIncomplete'
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Ioc'
        '304':
          $ref: '#/components/responses/NotModified'
        '400':
          $ref: '#/components/responses/DefangInvalid'
      tags:
      - Since
components:
  headers:
    ResultWindowIncomplete:
      description: 'Present, with the value `true`, only on `/v1/since` and only when the

        file backing the response does not reach as far back as the `since`

        you asked for. In practice that means a `since` older than 30 days:

        the endpoint is served from the 30-day window file, so it answers with

        those 30 days rather than failing. Pair it with `X-Result-Window-Start`

        to see where the data actually begins, and fetch

        `https://tweetfeed.live/feeds/year.csv` for the rest.


        The history is not missing - it exists for 365 days, it just cannot be

        scanned inside the Worker''s CPU budget on this route.


        Different from `X-Result-Truncated`: `truncated` means the 10 000-row

        cap cut rows out of a window that was served in full; this one means

        the served window itself starts later than you asked. They are

        independent and can both appear on the same response. Like its

        siblings it is never sent as `false`, so test for presence.

        '
      schema:
        type: string
        enum:
        - 'true'
      example: 'true'
    ResultWindowEnd:
      description: 'Date of the NEWEST row in this response. On a truncated

        `/v1/since/{datetime}` call this is where to resume: pass it back as

        the next `since` value to page forward through the remainder.

        '
      schema:
        type: string
      example: '2026-07-30 17:00:00'
    ResultCount:
      description: Number of rows in this response.
      schema:
        type: integer
      example: 10000
    ResultTruncated:
      description: 'Present, with the value `true`, only when the 10 000-row cap was

        reached and rows were dropped. Absent means you received the whole

        window. It is never sent as `false`, so test for presence.

        '
      schema:
        type: string
        enum:
        - 'true'
      example: 'true'
    ResultWindowStart:
      description: 'Date of the OLDEST row in this response. When `X-Result-Truncated` is

        present on a `/v1/{time}` call this is later than the window you asked

        for, and the difference is exactly what the cap dropped.

        '
      schema:
        type: string
      example: '2026-07-11 21:34:00'
    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"'
  parameters:
    DateTime:
      name: datetime
      in: path
      required: true
      description: 'ISO 8601 datetime, strict form (must end in `Z` for UTC or include a

        `+HH:MM` / `-HH:MM` offset). Ambiguous local-time forms are rejected.

        '
      schema:
        type: string
        format: date-time
        example: '2026-05-01T00:00:00Z'
    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"'
    Defang:
      name: defang
      in: query
      required: false
      description: 'Defang IOC values in the response body: `hxxps://evil[.]tld` and

        `1[.]2[.]3[.]4` instead of live, clickable values. `1` or `true`

        turns it on; absent, empty, `0` or `false` leaves the response

        byte-identical to the same request with no `defang` parameter. Any

        other value returns `400` with `{"error": "defang must be 1 or 0"}`.


        Transform: the scheme (`http://`, `https://`, `ftp://`, `ftps://`)

        becomes `hxxp://`, `hxxps://`, `fxp://`, `fxps://` (lowercased,

        only when followed by `://`); every literal `.` in the value

        becomes `[.]`, in the host, path and query alike. For example,

        `https://evil.tld/a.php?id=1.2` becomes

        `hxxps://evil[.]tld/a[.]php?id=1[.]2`, and `171.229.217.2` becomes

        `171[.]229[.]217[.]2`. Ports, `://` and `@` are left untouched, and

        hashes are unaffected (no `.` to defang). Reversible with

        CyberChef''s "Defang URL" / "Refang"

        recipes, or Python''s `iocextract` (`refang_data` for URLs,

        `refang_data(no_scheme=True)` for bare domains, `refang_ipv4` for

        IPs) - a value that already contains `[` or `]` is lossy under

        `iocextract`, a pre-existing library behaviour, not something this

        parameter introduces.


        Applies only to the fields that carry a live IOC value on each

        route (see each field''s own description below); never to

        `tweet`/`user`, `external[].link`, `net.*`, or `ai.summary` (which

        may still name a live hostname in prose). Accepted and validated

        on every route, but has no effect on the body of `/v1/campaigns`,

        `/v1/campaigns/iocs`, the blocklists, the RSS/CSV feeds, or

        TAXII/STIX.


        Same cache lifetime as the equivalent request without `defang` -

        `?defang=1` is cached as its own entry, separate from the plain

        response.

        '
      schema:
        type: string
        enum:
        - ''
        - '1'
        - 'true'
        - '0'
        - 'false'
      example: '1'
    Filter2:
      name: filter2
      in: path
      required: true
      description: Second filter, AND-ed with `filter1`. Same value space as `filter1`.
      schema:
        type: string
    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
    Filter1:
      name: filter1
      in: path
      required: true
      description: 'First filter. Accepts an IOC type (`url`, `domain`, `ip`, `sha256`, `md5`),

        a tag (e.g. `phishing`, `cobaltstrike`), or a researcher handle prefixed

        with `@` (e.g. `@malwrhunterteam`).

        '
      schema:
        type: string
      examples:
        type:
          value: url
          summary: IOC type
        tag:
          value: phishing
          summary: Tag
        researcher:
          value: '@malwrhunterteam'
          summary: Researcher handle
  responses:
    DefangInvalid:
      description: '`defang` was present but not `1`, `true`, `0` or `false`.

        '
      content:
        application/json:
          schema:
            type: object
            required:
            - error
            properties:
              error:
                type: string
          example:
            error: defang must be 1 or 0
    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'
  schemas:
    Ioc:
      type: object
      required:
      - date
      - user
      - type
      - value
      - tags
      - tweet
      properties:
        date:
          type: string
          description: 'Publication timestamp of the tweet that reported the IOC, UTC,

            format `YYYY-MM-DD HH:MM:SS`. It is the tweet''s own publication

            time as given by the source feed, not the moment the pipeline

            ingested it (the pipeline polls every 15 minutes, so the two are

            normally minutes apart).


            When the reporting tweet is a quote-tweet, the IOC is extracted

            from the QUOTED tweet but stamped with the QUOTING tweet''s time,

            so that a re-share lands in the day it was re-shared. `user` and

            `tweet` then point at the quoted tweet while `date` points at

            the quoting one, and `date` can be much newer than the tweet the

            IOC first appeared in.

            '
          example: '2026-05-21 09:13:00'
        user:
          type: string
          description: Twitter/X handle of the reporting researcher (no leading `@`).
          example: malwrhunterteam
        type:
          type: string
          enum:
          - url
          - domain
          - ip
          - sha256
          - md5
          description: IOC type.
        value:
          type: string
          description: 'The IOC value itself. URLs/domains are emitted refanged (the original

            tweet may have defanged them with `[.]` or `hxxp` - the pipeline

            normalises to refanged form on emit). File hashes are lowercase hex.

            Defanged instead when the request carries `?defang=1`; hashes are

            unaffected either way (no `.` to defang).

            '
          example: http://example.malicious/path
        tags:
          type: array
          items:
            type: string
          description: 'Tag labels (typically include the IOC category - `phishing`, `malware`,

            `ransomware`, etc. - plus malware-family or threat-actor labels when

            applicable). Current taxonomy: 95 tags. Full list at

            https://tweetfeed.live/tags/.

            '
          example:
          - phishing
          - scam
        tweet:
          type: string
          format: uri
          description: URL of the tweet that reported the IOC.
          example: https://x.com/malwrhunterteam/status/1234567890123456789
        ai:
          type: object
          nullable: true
          description: 'Optional per-IOC AI enrichment, mirroring the `ai` object `GET

            /v1/ioc` returns. Present only once the value''s own enrichment

            job has covered it; absent (not `null`) otherwise.

            '
          properties:
            threat_type:
              type: string
              example: phishing
            family:
              type: string
              description: Malware family, when identified. Omitted when unknown.
              example: Joker
        net:
          type: object
          nullable: true
          description: 'Optional per-IOC network metadata, mirroring the `net` object

            `GET /v1/ioc` returns. `ip`-type IOCs only.

            '
          properties:
            org:
              type: string
              example: AS13335 Cloudflare, Inc.
            country:
              type: string
              example: US
externalDocs:
  description: API guide with copy-paste examples and FAQ.
  url: https://tweetfeed.live/api/