Spytrend Ads API

Search and fetch ads

GitHub OpenAPI

Operations 2

GET /api/v1/ads Search ads #
GET /api/v1/ads/{id} Get one ad by id #

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/spytrend-com:spytrend-com-ads-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

spytrend-com-ads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spytrend Com Ads API
  version: 1.0.0
  contact:
    name: Spytrend
    url: https://spytrend.com
  description: 'Operations tagged ads across 2 of this provider''s published API definitions: spytrend-com-api-openapi.yml, spytrend-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://mcp.spytrend.com
  description: MCP-fronted access (OAuth 2.1)
security:
- oauth2:
  - mcp:read
tags:
- name: Ads
  description: Search and fetch ads
paths:
  /api/v1/ads:
    get:
      tags:
      - Ads
      operationId: searchAds
      summary: Search ads
      description: Search ads with filters. To find ads on a specific landing domain (incl. subdomains) use landing_domain, not the free-text q.
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Free-text keyword in title, body or link.
      - name: country
        in: query
        schema:
          type: string
        description: ISO country code (e.g. US, BR, DE).
      - name: platforms
        in: query
        schema:
          type: array
          items:
            type: string
        description: Platform names (e.g. facebook, instagram).
      - name: creative_categories
        in: query
        schema:
          type: array
          items:
            type: string
        description: AI category slugs, e.g. gambling_and_betting, finance_and_banking, dating_and_relationships, ecommerce_and_retail, healthcare_and_medical.
      - name: status_today
        in: query
        schema:
          type: string
          enum:
          - active
          - inactive
        description: Current ad status.
      - name: advertiser_id
        in: query
        schema:
          type: string
        description: Filter to one advertiser.
      - name: webmaster_id
        in: query
        schema:
          type: string
        description: Filter to one webmaster.
      - name: landing_domain
        in: query
        schema:
          type: string
        description: Exact landing domain incl. subdomains (e.g. tv.kukufm.com).
      - name: sort_by
        in: query
        schema:
          type: string
          enum:
          - date
          - days_active
          - activity_days_amount
          - most_popular
          - impressions
        description: Sort field (impressions requires a narrowing filter).
      - name: sort_order
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
          maximum: 100
      - name: cursor
        in: query
        schema:
          type: string
        description: Pagination cursor from a prior response.
      responses:
        '200':
          description: Matching ads + pagination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdsPage'
    servers:
    - url: https://mcp.spytrend.com
      description: MCP-fronted access (OAuth 2.1)
  /api/v1/ads/{id}:
    get:
      tags:
      - Ads
      operationId: getAd
      summary: Get one ad by id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ad
          content:
            application/json:
              schema:
                type: object
    servers:
    - url: https://mcp.spytrend.com
      description: MCP-fronted access (OAuth 2.1)
components:
  schemas:
    Ad:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        body:
          type: string
        landing_domain:
          type: string
        platform_name:
          type: string
        advertiser_id:
          type: string
        webmaster_id:
          type: string
        status_today:
          type: string
        days_active:
          type: integer
        first_seen_date:
          type: string
        last_seen_date:
          type: string
        countries:
          type: array
          items:
            type: string
        languages:
          type: array
          items:
            type: string
        categories:
          type: array
          items:
            type: string
        creative_format:
          type: string
        media_count:
          type: integer
    AdsPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Ad'
        pagination:
          type: object
          properties:
            next_cursor:
              type: string
            has_more:
              type: boolean
            total:
              type: integer
            total_estimated:
              type: boolean
  securitySchemes:
    oauth2:
      type: oauth2
      description: 'OAuth 2.1 + PKCE. Metadata: https://mcp.spytrend.com/.well-known/oauth-authorization-server'
      flows:
        authorizationCode:
          authorizationUrl: https://mcp.spytrend.com/oauth2/auth
          tokenUrl: https://mcp.spytrend.com/oauth2/token
          scopes:
            mcp:read: Read-only access to the data tools
x-refined-from:
- spytrend-com-api-openapi.yml
- spytrend-com-openapi.yml