SimilarWeb Keywords API

Keyword analytics including organic and paid keyword data

Operations 1

GET /v4/website-analysis/keywords Website Keywords #

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/similarweb-keywords-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

similarweb-keywords-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SimilarWeb REST Keywords API
  description: The SimilarWeb REST API provides real-time access to digital intelligence data covering website traffic and engagement metrics, traffic source breakdowns, audience demographics, keyword and search intelligence, mobile app performance, technographic data, e-commerce shopper behavior, company firmographics, and rank tracking. Authentication is via API key and usage is metered on a data credit model.
  version: 4.0.0
  termsOfService: https://www.similarweb.com/corp/legal/terms-of-use/
  contact:
    name: SimilarWeb Support
    url: https://support.similarweb.com/hc/en-us/articles/22089555897373-REST-API
  license:
    name: Proprietary
    url: https://www.similarweb.com/corp/legal/terms-of-use/
servers:
- url: https://api.similarweb.com
  description: SimilarWeb API server
tags:
- name: Keywords
  description: Keyword analytics including organic and paid keyword data
paths:
  /v4/website-analysis/keywords:
    get:
      operationId: getWebsiteKeywords
      summary: Website Keywords
      description: Retrieve organic and paid keyword data for a domain including traffic share, difficulty, competition, CPC, and SERP features.
      tags:
      - Keywords
      security:
      - apiKeyQuery: []
      parameters:
      - $ref: '#/components/parameters/apiKeyQuery'
      - name: URL
        in: query
        required: true
        schema:
          type: string
        description: Domain without 'www.' prefix
      - $ref: '#/components/parameters/startDate'
      - $ref: '#/components/parameters/endDate'
      - $ref: '#/components/parameters/country'
      - name: traffic_source
        in: query
        required: false
        schema:
          type: string
          enum:
          - Organic
          - Paid
          - All
          default: All
        description: Filter by traffic source type
      - name: web_source
        in: query
        required: false
        schema:
          type: string
          enum:
          - Desktop
          - MobileWeb
          - Total
          default: Total
        description: Device type filter
      - name: branded_type
        in: query
        required: false
        schema:
          type: string
          enum:
          - Branded
          - NonBranded
          - All
          default: All
        description: Filter branded or non-branded keywords
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Keyword data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebsiteKeywordsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  parameters:
    endDate:
      name: end_date
      in: query
      required: false
      schema:
        type: string
        pattern: ^\d{4}-\d{2}$
        example: 2024-06
      description: End month in YYYY-MM format
    startDate:
      name: start_date
      in: query
      required: false
      schema:
        type: string
        pattern: ^\d{4}-\d{2}$
        example: 2024-01
      description: Start month in YYYY-MM format
    country:
      name: country
      in: query
      required: false
      schema:
        type: string
        example: us
      description: 2-letter ISO 3166-1 alpha-2 country code or "world"
    offset:
      name: offset
      in: query
      required: false
      schema:
        type: integer
        default: 0
      description: Starting position for paginated results
    limit:
      name: limit
      in: query
      required: false
      schema:
        type: integer
        default: 100
      description: Maximum number of results to return
    apiKeyQuery:
      name: api_key
      in: query
      required: true
      schema:
        type: string
      description: SimilarWeb API authentication key
  schemas:
    MetaObject:
      type: object
      description: Standard response metadata
      properties:
        request:
          type: object
          description: Echo of the original request parameters
        status:
          type: string
          description: Request status (Success or error)
        last_updated:
          type: string
          format: date
          description: Timestamp of the most recent data update
    WebsiteKeywordsResponse:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaObject'
        keywords_count:
          type: integer
          description: Total number of keywords available
        keywords:
          type: array
          items:
            $ref: '#/components/schemas/KeywordRecord'
    KeywordRecord:
      type: object
      properties:
        keyword:
          type: string
        clicks:
          type: number
        traffic_share:
          type: number
        difficulty:
          type: number
        competition:
          type: number
        primary_intent:
          type: string
        secondary_intent:
          type: string
        volume:
          type: number
        cpc:
          type: number
          description: Average cost-per-click in USD
        cpc_low_bid:
          type: number
        cpc_high_bid:
          type: number
        zero_clicks_share:
          type: number
        position:
          type: number
        serp_features:
          type: array
          items:
            type: string
        top_url:
          type: string
  responses:
    BadRequest:
      description: Bad request - invalid parameters or missing required fields
      content:
        application/json:
          schema:
            type: object
  securitySchemes:
    apiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: SimilarWeb API key passed as a query parameter
    apiKeyHeader:
      type: apiKey
      in: header
      name: api-key
      description: SimilarWeb API key passed as a request header
externalDocs:
  description: SimilarWeb Developer Documentation
  url: https://developers.similarweb.com/