DNS Coffee Trends API

The trends API from DNS Coffee — 3 operation(s) for trends.

GitHub OpenAPI

Operations 3

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/dns-coffee:dns-coffee-trends-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

dns-coffee-trends-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dns Coffee Trends API
  version: 1.47.1
  contact:
    email: api@dns.coffee
    name: DNS Coffee
  description: 'Operations tagged trends across 2 of this provider''s published API definitions: dns-coffee-openapi.json, dns-coffee-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.dns.coffee
security:
- api_key: []
tags:
- name: Trends
paths:
  /api/v1/trends/strings:
    get:
      description: 'Strings of 5 to 25 letters and digits that unusually many newly registered domains repeat, across every imported zone, most unusual first. They are found in the names themselves, without a dictionary, so they show what the trending terms cannot: a brand made of ordinary words (`mostbet`) or a serial (`mcw678`). A string the trending terms already show, as a term of its own or through a listed term on most of its domains, is left out, and so is a piece that runs across two words.


        Each string is counted once per domain, in the same domains as the day''s cross-zone terms, and compared with its share of each of the 28 days before. It carries the same fields as a term: `term` is the string, and `history` holds its count on the 28 days before and then on the date. Strings from the same set of domains, and other numbers of one serial, are listed once.


        The newest list is refreshed every few hours, so it can be a day behind the newest terms. Pass `date` for the list of a past date; a date with no list returns no strings. Strings on sexual, profane or slur domains are left out unless `unfiltered=true`. There is no weekly or per-zone list.


        Usage class: `lookup`.'
      operationId: trends-strings
      parameters:
      - description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
        explode: false
        in: query
        name: date
        schema:
          description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
          examples:
          - '2026-11-09'
          format: date
          type: string
      - description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
        explode: false
        in: query
        name: unfiltered
        schema:
          description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
          type: boolean
      - description: Maximum number of strings to return. A list holds at most 50.
        explode: false
        in: query
        name: limit
        schema:
          default: 25
          description: Maximum number of strings to return. A list holds at most 50.
          examples:
          - 25
          format: int64
          maximum: 50
          minimum: 1
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WordTrends'
          description: OK
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      detail:
                        description: Human-readable explanation of the error.
                        type: string
                      status:
                        description: HTTP status code, 429.
                        type: integer
                      title:
                        description: Short summary of the error.
                        type: string
                    type: object
                type: object
          description: 'Too Many Requests: the account''s rate limit (or, without a key, the client address''s) is exceeded, or the account''s allowance for this operation''s usage class is used up until the window resets. Retry after the number of seconds in `Retry-After`; `detail` says which limit applied.'
          headers:
            RateLimit-Policy:
              description: The plan's rate limit, as `"rate";q=<requests>;w=60` (requests per 60 seconds). Sent on authenticated requests.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
            X-RateLimit-Limit:
              description: Requests that can be sent back-to-back from idle (the burst), not the per-minute rate.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests that can be sent back-to-back now.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Seconds until the full burst is available again.
              schema:
                type: integer
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      summary: Repeated names across zones
      tags:
      - Trends
      x-quota-class: lookup
    servers:
    - url: https://api.dns.coffee
  /api/v1/trends/terms:
    get:
      description: 'The words and names that appear in unusually many newly registered domains, across every imported zone, most unusual first. Each zone''s newest zone file is compared with that zone''s own previous four weeks and the results are added up, so a term ranks by rising above its usual level, not by being common. A term counts once per domain. If nearly all of a term''s domains share a longer name, the term and its count are that name''s; the expected count and earlier history stay the shorter term''s. Each term carries its count, the count its history predicts, the number of zones it appeared in, the zone with the most matches, example domains, and its daily counts over the 28 days before.


        The newest list is refreshed as zone files arrive: a zone that has not yet delivered that day''s file contributes its previous day''s, and a zone with no file for two days is left out. Pass `date` for the list of a past date; a date with no list returns no terms. Terms from the same set of domains are listed once. Sexual, profane and slur terms are left out unless `unfiltered=true`.


        `period=week` returns the weekly list instead: terms whose count over the 7 days ending on the date is far above what the 28 days before those 7 predict. It shows a campaign that runs for days without one big day, and shows it once. A weekly term appears in at least 15 domains, and its `history` holds 35 daily counts: the 28 days before the week, then its 7. The newest weekly list is refreshed every few hours.


        Usage class: `lookup`.'
      operationId: trends-terms
      parameters:
      - description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
        explode: false
        in: query
        name: date
        schema:
          description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
          examples:
          - '2026-11-09'
          format: date
          type: string
      - description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
        explode: false
        in: query
        name: unfiltered
        schema:
          description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
          type: boolean
      - description: Maximum number of terms to return. A list holds at most 100.
        explode: false
        in: query
        name: limit
        schema:
          default: 25
          description: Maximum number of terms to return. A list holds at most 100.
          examples:
          - 25
          format: int64
          maximum: 100
          minimum: 1
          type: integer
      - description: day (default) returns the daily list. week returns the list of the 7 days ending on the date, compared with the 28 days before them.
        explode: false
        in: query
        name: period
        schema:
          default: day
          description: day (default) returns the daily list. week returns the list of the 7 days ending on the date, compared with the 28 days before them.
          enum:
          - day
          - week
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WordTrends'
          description: OK
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      detail:
                        description: Human-readable explanation of the error.
                        type: string
                      status:
                        description: HTTP status code, 429.
                        type: integer
                      title:
                        description: Short summary of the error.
                        type: string
                    type: object
                type: object
          description: 'Too Many Requests: the account''s rate limit (or, without a key, the client address''s) is exceeded, or the account''s allowance for this operation''s usage class is used up until the window resets. Retry after the number of seconds in `Retry-After`; `detail` says which limit applied.'
          headers:
            RateLimit-Policy:
              description: The plan's rate limit, as `"rate";q=<requests>;w=60` (requests per 60 seconds). Sent on authenticated requests.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
            X-RateLimit-Limit:
              description: Requests that can be sent back-to-back from idle (the burst), not the per-minute rate.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests that can be sent back-to-back now.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Seconds until the full burst is available again.
              schema:
                type: integer
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      summary: Trending terms across zones
      tags:
      - Trends
      x-quota-class: lookup
    servers:
    - url: https://api.dns.coffee
  /api/v1/zones/{zone}/trends:
    get:
      description: 'The words and names that appear in unusually many of the domains added to one zone, compared with that zone''s own previous zone files (up to 28), most unusual first. Without `date` this is the list of the zone''s newest zone file that added domains, and it is empty once the zone has delivered no file for two days. A list is only built when a zone file adds at least 200 domains, so small zones, and ordinary days in larger ones, return no terms. An unknown zone answers 404. Sexual, profane and slur terms are left out unless `unfiltered=true`.


        Usage class: `lookup`.'
      operationId: zone-trends
      parameters:
      - description: Zone (TLD) name, without a trailing dot.
        in: path
        name: zone
        required: true
        schema:
          description: Zone (TLD) name, without a trailing dot.
          examples:
          - com
          type: string
      - description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
        explode: false
        in: query
        name: date
        schema:
          description: Return the list of this YYYY-MM-DD date. Omit for the newest list.
          examples:
          - '2026-11-09'
          format: date
          type: string
      - description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
        explode: false
        in: query
        name: unfiltered
        schema:
          description: 'Include the terms hidden by default: sexual, profane and slur words, and terms that only appear beside them. Each such term carries filtered: true.'
          type: boolean
      - description: Maximum number of terms to return. A zone's list holds at most 50.
        explode: false
        in: query
        name: limit
        schema:
          default: 25
          description: Maximum number of terms to return. A zone's list holds at most 50.
          examples:
          - 25
          format: int64
          maximum: 50
          minimum: 1
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WordTrends'
          description: OK
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      detail:
                        description: Human-readable explanation of the error.
                        type: string
                      status:
                        description: HTTP status code, 429.
                        type: integer
                      title:
                        description: Short summary of the error.
                        type: string
                    type: object
                type: object
          description: 'Too Many Requests: the account''s rate limit (or, without a key, the client address''s) is exceeded, or the account''s allowance for this operation''s usage class is used up until the window resets. Retry after the number of seconds in `Retry-After`; `detail` says which limit applied.'
          headers:
            RateLimit-Policy:
              description: The plan's rate limit, as `"rate";q=<requests>;w=60` (requests per 60 seconds). Sent on authenticated requests.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
            X-RateLimit-Limit:
              description: Requests that can be sent back-to-back from idle (the burst), not the per-minute rate.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests that can be sent back-to-back now.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Seconds until the full burst is available again.
              schema:
                type: integer
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      summary: Trending terms in a zone
      tags:
      - Trends
      x-quota-class: lookup
    servers:
    - url: https://api.dns.coffee
components:
  schemas:
    WordTrend:
      additionalProperties: false
      properties:
        count:
          description: Number of newly registered domains containing the term.
          format: int64
          type: integer
        examples:
          description: Some of the domains containing the term.
          items:
            type: string
          type:
          - array
          - 'null'
        expected:
          description: Number of domains the term's own history predicts for the same number of registrations.
          format: double
          type: number
        filtered:
          description: 'True when the term is hidden unless unfiltered results are requested: it is, or only appears beside, a sexual, profane or slur word.'
          type: boolean
        history:
          description: The term's count on each earlier day it is compared with, oldest first, ending with this list's own count. Across zones these are the 28 days before the list's date; in a zone's list, the zone's previous zone files, up to 28.
          items:
            format: int64
            type: integer
          type:
          - array
          - 'null'
        providers:
          description: Number of nameserver providers the term's domains used on the day they appeared. Omitted with top_provider.
          format: int64
          type: integer
        rank:
          description: Position in the returned list, starting at 1.
          format: int64
          type: integer
        score:
          description: 'Ranking score: how far the count is above the expected count, weighted by the term''s length.'
          format: double
          type: number
        term:
          description: The word or character run found in the domain names. Names in other scripts are decoded from punycode first.
          type: string
        top_provider:
          description: The nameserver provider that the most of the term's domains used on the day they appeared, as the registered domain of the nameserver (registrar-servers.com for dns1.registrar-servers.com). One provider for nearly all of the domains usually means one registrant. Omitted in a single zone's list and in an older list that was built without it.
          type: string
        top_provider_count:
          description: Number of the term's domains on the top provider. Divide by count for its share. Omitted with top_provider.
          format: int64
          type: integer
        top_zone:
          description: The zone with the most domains containing the term. Omitted in a single zone's list.
          type: string
        top_zone_count:
          description: Number of domains containing the term in the top zone. Omitted in a single zone's list.
          format: int64
          type: integer
        zones:
          description: Number of zones the term appeared in. Omitted in a single zone's list.
          format: int64
          type: integer
      required:
      - rank
      - term
      - count
      - expected
      - score
      - examples
      - history
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
          - https://api.dns.coffee/schemas/ErrorModel.json
          format: uri
          readOnly: true
          type: string
        detail:
          description: A human-readable explanation specific to this occurrence of the problem.
          examples:
          - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
          - array
          - 'null'
        instance:
          description: A URI reference that identifies the specific occurrence of the problem.
          examples:
          - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
          - 400
          format: int64
          type: integer
        title:
          description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
          examples:
          - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
          - https://example.com/errors/example
          format: uri
          type: string
      type: object
    WordTrends:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
          - https://api.dns.coffee/schemas/WordTrends.json
          format: uri
          readOnly: true
          type: string
        date:
          description: Date of the newest zone file the list reflects. For a weekly list, the last of its 7 days. Absent when there is no list.
          format: date-time
          type: string
        period:
          description: 'What the list covers: day is one day''s new domains against the four weeks before, week is the 7 days ending on date against the 28 days before them.'
          enum:
          - day
          - week
          type: string
        terms:
          description: The trending terms, most unusual first.
          items:
            $ref: '#/components/schemas/WordTrend'
          type:
          - array
          - 'null'
      required:
      - period
      - terms
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    api_key:
      description: API key issued by DNS Coffee.
      in: header
      name: X-API-Key
      type: apiKey
x-refined-from:
- dns-coffee-openapi.json
- dns-coffee-openapi.yml