> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /dune/search

> Global Dune search across blockchains, dashboards, queries, analysts/teams and contracts

**Price:** 1 credit

**💡 AI Hint:** Search Dune Analytics across all entity types at once. Returns, for the keyword, matching blockchains, dashboards, queries, creators (analysts and teams) and decoded contracts, each as a separate list. Pass a contract address as q to match decoded contracts by address. For type-specific paginated search use the 'dashboards/search', 'queries/search', 'datasets/search' or 'contracts/search' endpoints.



## OpenAPI

````yaml /openapi-filtered.json post /api/dune/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/dune/search:
    post:
      tags:
        - /dune
      summary: /dune/search
      description: >-
        Global Dune search across blockchains, dashboards, queries,
        analysts/teams and contracts


        **Price:** 1 credit


        **💡 AI Hint:** Search Dune Analytics across all entity types at once.
        Returns, for the keyword, matching blockchains, dashboards, queries,
        creators (analysts and teams) and decoded contracts, each as a separate
        list. Pass a contract address as q to match decoded contracts by
        address. For type-specific paginated search use the 'dashboards/search',
        'queries/search', 'datasets/search' or 'contracts/search' endpoints.
      operationId: __api_dune_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DuneSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DuneSearchResults'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DuneSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        q:
          type: string
          minLength: 1
          description: Search keyword (or a contract address)
        count:
          type: integer
          minimum: 1
          description: Max number of results to return per category
      type: object
      required:
        - q
        - count
    DuneSearchResults:
      properties:
        '@type':
          type: string
          default: DuneSearchResults
        query:
          type: string
        blockchains:
          items:
            $ref: '#/components/schemas/DuneSearchBlockchain'
          type: array
          default: []
        dashboards:
          items:
            $ref: '#/components/schemas/DuneDashboardCard'
          type: array
          default: []
        queries:
          items:
            $ref: '#/components/schemas/DuneQueryCard'
          type: array
          default: []
        creators:
          items:
            $ref: '#/components/schemas/DuneCreatorCard'
          type: array
          default: []
        contracts:
          items:
            $ref: '#/components/schemas/DuneContract'
          type: array
          default: []
      type: object
      required:
        - query
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    DuneSearchBlockchain:
      properties:
        '@type':
          type: string
          default: DuneSearchBlockchain
        name:
          type: string
        display_name:
          anyOf:
            - type: string
            - type: 'null'
        star_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    DuneDashboardCard:
      properties:
        '@type':
          type: string
          default: DuneDashboardCard
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        slug:
          anyOf:
            - type: string
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
        star_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_trending:
          type: boolean
          default: false
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - $ref: '#/components/schemas/DuneAuthor'
            - type: 'null'
      type: object
      required:
        - id
    DuneQueryCard:
      properties:
        '@type':
          type: string
          default: DuneQueryCard
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
        star_count:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - $ref: '#/components/schemas/DuneAuthor'
            - type: 'null'
      type: object
      required:
        - id
    DuneCreatorCard:
      properties:
        '@type':
          type: string
          default: DuneCreatorCard
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_team:
          type: boolean
          default: false
        star_count:
          anyOf:
            - type: integer
            - type: 'null'
        reputation_score:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - id
    DuneContract:
      properties:
        '@type':
          type: string
          default: DuneContract
        name:
          type: string
        namespace:
          anyOf:
            - type: string
            - type: 'null'
        blockchains:
          items:
            type: string
          type: array
          default: []
        is_multichain:
          type: boolean
          default: false
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    DuneAuthor:
      properties:
        '@type':
          type: string
          default: DuneAuthor
        id:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_team:
          type: boolean
          default: false
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````