Piloterr Similarweb API

The Similarweb API from Piloterr — 2 operation(s) for similarweb.

GitHub OpenAPI

Operations 4

POST /v2/similarweb/search Similarweb Search #
GET /v2/similarweb/domain SimilarWeb Domain #
POST /v2/similarweb/domain SimilarWeb Domain #

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/piloterr-com:piloterr-com-similarweb-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

piloterr-com-similarweb-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Similarweb API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Similarweb
paths:
  /v2/similarweb/search:
    get:
      summary: Similarweb Search
      description: 'Search the public Similarweb page for websites, companies, and mobile apps related to a keyword.


        **Credit cost:** 2 credits per call'
      operationId: get-similarweb-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: "Domain name or keyword to search for in the Similarweb database.\n\n**Example:**\n\n    google.com\n\n**Notes:**\n- **Domain search:** Use a full domain (e.g. `google.com`) to find related websites, apps, companies, and technologies associated with that domain.\n- **Keyword search:** Use a plain keyword (e.g. `amazon`) to retrieve broader associations across the Similarweb index."
        schema:
          type: string
          description: "Domain name or keyword to search for in the Similarweb database.\n\n**Example:**\n\n    google.com\n\n**Notes:**\n- **Domain search:** Use a full domain (e.g. `google.com`) to find related websites, apps, companies, and technologies associated with that domain.\n- **Keyword search:** Use a plain keyword (e.g. `amazon`) to retrieve broader associations across the Similarweb index."
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  apps:
                    type: object
                    properties:
                      appStore:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            author:
                              type: string
                            category:
                              type: string
                      googlePlay:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            author:
                              type: string
                            category:
                              type: string
                  keywords:
                    type: array
                    items: {}
                  websites:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        image:
                          type: string
                        isVirtual:
                          type: boolean
                  companies:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        domain:
                          type: string
                        category:
                          type: string
                  technologies:
                    type: array
                    items: {}
              examples:
                Search for google:
                  value:
                    apps:
                      appStore:
                      - name: Google Drive
                        author: Google LLC
                        category: productivity
                      googlePlay:
                      - name: Google Photos
                        author: Google LLC
                        category: photography
                    keywords: []
                    websites:
                    - name: google.com
                      image: https://site-images.similarcdn.com/image?url=google.com&t=2&s=1&h=eb35e0fbafa3eb290132ffdfe47187d950d68daaa659ec1bd4b4e834b8f16461
                      isVirtual: false
                    companies:
                    - name: Google
                      domain: google.com
                      category: computers_electronics_and_technology/search_engines
                    technologies: []
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Similarweb
    post:
      summary: Similarweb Search
      description: 'Search the public Similarweb page for websites, companies, and mobile apps related to a keyword.


        **Credit cost:** 2 credits per call'
      operationId: post-similarweb-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: "Domain name or keyword to search for in the Similarweb database.\n\n**Example:**\n\n    google.com\n\n**Notes:**\n- **Domain search:** Use a full domain (e.g. `google.com`) to find related websites, apps, companies, and technologies associated with that domain.\n- **Keyword search:** Use a plain keyword (e.g. `amazon`) to retrieve broader associations across the Similarweb index."
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  apps:
                    type: object
                    properties:
                      appStore:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            author:
                              type: string
                            category:
                              type: string
                      googlePlay:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            author:
                              type: string
                            category:
                              type: string
                  keywords:
                    type: array
                    items: {}
                  websites:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        image:
                          type: string
                        isVirtual:
                          type: boolean
                  companies:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        domain:
                          type: string
                        category:
                          type: string
                  technologies:
                    type: array
                    items: {}
              examples:
                Search for google:
                  value:
                    apps:
                      appStore:
                      - name: Google Drive
                        author: Google LLC
                        category: productivity
                      googlePlay:
                      - name: Google Photos
                        author: Google LLC
                        category: photography
                    keywords: []
                    websites:
                    - name: google.com
                      image: https://site-images.similarcdn.com/image?url=google.com&t=2&s=1&h=eb35e0fbafa3eb290132ffdfe47187d950d68daaa659ec1bd4b4e834b8f16461
                      isVirtual: false
                    companies:
                    - name: Google
                      domain: google.com
                      category: computers_electronics_and_technology/search_engines
                    technologies: []
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Similarweb
  /v2/similarweb/domain:
    get:
      summary: SimilarWeb Domain
      description: 'Retrieve website traffic and engagement metrics for a domain from the public Similarweb page, including visits, bounce rate, rank, keywords, and traffic sources.


        **Credit cost:** 2 credits per call'
      operationId: get-similarweb-domain
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: "A domain name to retrieve traffic and engagement metrics for.\n\n**Examples:**\n\n    google.com\n\nProvide the bare domain without `https://` or `www.` prefixes."
        schema:
          type: string
          description: "A domain name to retrieve traffic and engagement metrics for.\n\n**Examples:**\n\n    google.com\n\nProvide the bare domain without `https://` or `www.` prefixes."
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  title:
                    type: string
                  category:
                    type: string
                  site_name:
                    type: string
                  engagments:
                    type: object
                    properties:
                      year:
                        type: string
                      month:
                        type: string
                      visits:
                        type: string
                      bounce_rate:
                        type: string
                      time_on_site:
                        type: string
                      page_per_visit:
                        type: string
                  global_rank:
                    type: object
                    properties:
                      rank:
                        type: integer
                  country_rank:
                    type: object
                    properties:
                      rank:
                        type: integer
                      country_code:
                        type: string
                  top_keywords:
                    type: array
                    items:
                      type: object
                      properties:
                        cpc:
                          type: number
                        name:
                          type: string
                  category_rank:
                    type: object
                    properties:
                      rank:
                        type: string
                      category:
                        type: string
                  snapshot_date:
                    type: string
                  traffic_sources:
                    type: object
                    properties:
                      direct:
                        type: number
                  top_country_shares:
                    type: array
                    items:
                      type: object
                      properties:
                        value:
                          type: number
                        country_code:
                          type: string
              examples:
                Get Similarweb metrics for google.com:
                  value:
                    title: Google
                    category: computers_electronics_and_technology/search_engines
                    site_name: google.com
                    engagments:
                      year: '2026'
                      month: '9'
                      visits: '85153236883'
                      bounce_rate: '0.2840071143603895'
                      time_on_site: '600'
                      page_per_visit: '8.684794686656113'
                    global_rank:
                      rank: 1
                    country_rank:
                      rank: 1
                      country_code: US
                    top_keywords:
                    - cpc: 0.28
                      name: gemini
                    category_rank:
                      rank: '1'
                      category: computers_electronics_and_technology/search_engines
                    snapshot_date: '2026-09-01T00:00:00+00:00'
                    traffic_sources:
                      direct: 0.9231211209777419
                    top_country_shares:
                    - value: 0.2439229615698427
                      country_code: US
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Similarweb
    post:
      summary: SimilarWeb Domain
      description: 'Retrieve website traffic and engagement metrics for a domain from the public Similarweb page, including visits, bounce rate, rank, keywords, and traffic sources.


        **Credit cost:** 2 credits per call'
      operationId: post-similarweb-domain
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: "A domain name to retrieve traffic and engagement metrics for.\n\n**Examples:**\n\n    google.com\n\nProvide the bare domain without `https://` or `www.` prefixes."
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  title:
                    type: string
                  category:
                    type: string
                  site_name:
                    type: string
                  engagments:
                    type: object
                    properties:
                      year:
                        type: string
                      month:
                        type: string
                      visits:
                        type: string
                      bounce_rate:
                        type: string
                      time_on_site:
                        type: string
                      page_per_visit:
                        type: string
                  global_rank:
                    type: object
                    properties:
                      rank:
                        type: integer
                  country_rank:
                    type: object
                    properties:
                      rank:
                        type: integer
                      country_code:
                        type: string
                  top_keywords:
                    type: array
                    items:
                      type: object
                      properties:
                        cpc:
                          type: number
                        name:
                          type: string
                  category_rank:
                    type: object
                    properties:
                      rank:
                        type: string
                      category:
                        type: string
                  snapshot_date:
                    type: string
                  traffic_sources:
                    type: object
                    properties:
                      direct:
                        type: number
                  top_country_shares:
                    type: array
                    items:
                      type: object
                      properties:
                        value:
                          type: number
                        country_code:
                          type: string
              examples:
                Get Similarweb metrics for google.com:
                  value:
                    title: Google
                    category: computers_electronics_and_technology/search_engines
                    site_name: google.com
                    engagments:
                      year: '2026'
                      month: '9'
                      visits: '85153236883'
                      bounce_rate: '0.2840071143603895'
                      time_on_site: '600'
                      page_per_visit: '8.684794686656113'
                    global_rank:
                      rank: 1
                    country_rank:
                      rank: 1
                      country_code: US
                    top_keywords:
                    - cpc: 0.28
                      name: gemini
                    category_rank:
                      rank: '1'
                      category: computers_electronics_and_technology/search_engines
                    snapshot_date: '2026-09-01T00:00:00+00:00'
                    traffic_sources:
                      direct: 0.9231211209777419
                    top_country_shares:
                    - value: 0.2439229615698427
                      country_code: US
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Similarweb
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.