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

# Search Locations

> Searches the geography a location filter accepts — continents, economic zones, countries, states and cities — and returns at most `limit` matches, broadest tier first, stopping once the limit is filled: every continent match, then economic zones, countries, states and cities, and within one tier prefix matches before substring matches — so `ger` lists the countries Germany, Algeria and Niger before the state Gers. A name held by several tiers is returned once, with the broadest tier's spelling. Matching is trimmed and case-insensitive, with no fuzzy matching, aliases or transliteration. Free: consumes no credits.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json get /client/v2/lead-finder/locations
openapi: 3.1.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/lead-finder/locations:
    get:
      tags:
        - Lead Finder
      summary: Search Locations
      description: >-
        Searches the geography a location filter accepts — continents, economic
        zones, countries, states and cities — and returns at most `limit`
        matches, broadest tier first, stopping once the limit is filled: every
        continent match, then economic zones, countries, states and cities, and
        within one tier prefix matches before substring matches — so `ger` lists
        the countries Germany, Algeria and Niger before the state Gers. A name
        held by several tiers is returned once, with the broadest tier's
        spelling. Matching is trimmed and case-insensitive, with no fuzzy
        matching, aliases or transliteration. Free: consumes no credits.
      operationId: LeadFinderClientApiController_searchLocations
      parameters:
        - description: >-
            Fragment of a continent, economic zone, country, state or city name
            to look for. At least 2 characters after trimming; matched
            case-insensitively.
          examples:
            example1:
              value: ger
            example2:
              value: san fra
          required: true
          name: search
          in: query
          schema:
            minLength: 2
            type: string
        - description: >-
            Largest number of values to return. Defaults to 20 when omitted; 50
            is the hard maximum.
          examples:
            example1:
              value: 20
            example2:
              value: 50
          required: false
          name: limit
          in: query
          schema:
            maximum: 50
            exclusiveMinimum: 0
            default: 20
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchLocationsResponseDto'
        '400':
          description: >-
            `search` is shorter than 2 characters after trimming, or `limit` is
            outside 1 to 50.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    SearchLocationsResponseDto:
      type: object
      properties:
        status:
          type: string
          const: success
          description: Response status
        data:
          type: array
          items:
            type: string
          description: Matching location names, broadest tier first.
        message:
          type: string
          description: Success message
          examples:
            - Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
          nullable: true
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.