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

# Autocomplete LinkedIn search filter IDs

> Resolve a location (region or postal code), industry, school or job title name into the numeric LinkedIn IDs accepted by Sales Navigator and LinkedIn search filters. This list is not paginated: one request returns up to 25 matches, best match first. Costs 1 credit per request.



## OpenAPI

````yaml /openapi.json post /linkedin/sales-navigator/search/filters
openapi: 3.1.0
info:
  title: Bridgly API
  description: >-
    Web scraping API for LinkedIn, X (Twitter), Reddit, GitHub, Instagram and
    TikTok. Authenticated endpoints accept a Bridgly API key (`bgly_…`) via
    `Authorization: Bearer <token>`.
  version: 1.0.0
servers:
  - url: https://api.bridgly.app
    description: Production
security: []
tags:
  - name: LinkedIn
    description: Scrape LinkedIn profiles, companies, posts, and search.
  - name: Reddit
    description: Scrape Reddit posts, subreddits, users, and search.
  - name: X (Twitter)
    description: Scrape tweets and search X.
  - name: GitHub
    description: >-
      Fetch GitHub profiles, pinned repos, contributions, repositories, stars,
      and projects via GitHub's GraphQL API.
  - name: Instagram
    description: Scrape Instagram profiles, posts, followers, and search.
  - name: TikTok
    description: Fetch TikTok profiles.
  - name: Meta Ads
    description: >-
      Search the Meta Ad Library: ads, ad details, and advertisers on Facebook
      and Instagram.
  - name: Facebook
    description: >-
      Scrape Facebook profiles, Pages, posts, comments, groups, Marketplace, and
      search.
paths:
  /linkedin/sales-navigator/search/filters:
    post:
      tags:
        - LinkedIn
      summary: Autocomplete LinkedIn search filter IDs
      description: >-
        Resolve a location (region or postal code), industry, school or job
        title name into the numeric LinkedIn IDs accepted by Sales Navigator and
        LinkedIn search filters. This list is not paginated: one request returns
        up to 25 matches, best match first. Costs 1 credit per request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - region
                    - postal_code
                    - school
                    - title
                  description: >-
                    Filter category to autocomplete: "region" (cities, states,
                    countries), "postal_code" (ZIP/postal locations), "school"
                    or "title" (job titles).
                query:
                  type: string
                  pattern: \S
                  description: >-
                    Search text to match filter values against, e.g. "San
                    Francisco", "94105", "Stanford" or "Product Manager".
                count:
                  default: 25
                  description: Number of results to return (1–25). Defaults to 25.
                  type: integer
                  minimum: 1
                  maximum: 25
                cacheMaxAgeHours:
                  description: >-
                    Accept a cached result up to this many hours old, at no
                    cost; its `cachedAt` says when it was fetched. Without one
                    that recent, fresh data is fetched at the normal price.
                    Leave it out to always get fresh data, e.g. 24.
                  type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                cacheOnly:
                  description: >-
                    Return only a cached result, never fresh data. With
                    `cacheMaxAgeHours`, only one that recent; without it, the
                    latest of any age. Responds 404, at no cost, when there is
                    none, e.g. true.
                  type: boolean
              required:
                - type
                - query
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  timeMs:
                    type: number
                    description: >-
                      Wall-clock time the request took to complete, in
                      milliseconds.
                  creditsCost:
                    type: number
                    description: Number of account credits this request consumed.
                  cachedAt:
                    anyOf:
                      - type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      - type: 'null'
                    description: >-
                      When the returned data was fetched, if it came from the
                      cache. Null when it was fetched fresh for this request.
                  data:
                    type: object
                    properties:
                      suggestions:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: >-
                                Filter ID to pass into search filter fields
                                (e.g. "102277331" for San Francisco, "4" for
                                Software Development).
                            name:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Human-readable label for the suggestion.
                            industry:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: >-
                                Industry label (populated for school
                                suggestions).
                            employeeCountRange:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: >-
                                Employee count bracket (populated for school
                                suggestions).
                            address:
                              anyOf:
                                - type: object
                                  properties:
                                    country:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Country name, e.g. "United States".
                                    geographicArea:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: >-
                                        State, province or region, e.g.
                                        "California".
                                    city:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: City name, e.g. "South San Francisco".
                                    postalCode:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Postal or ZIP code, e.g. "94080".
                                    line1:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Primary street address line.
                                    line2:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: >-
                                        Secondary address line, e.g. suite or
                                        floor.
                                  required:
                                    - country
                                    - geographicArea
                                    - city
                                    - postalCode
                                    - line1
                                    - line2
                                  additionalProperties: false
                                - type: 'null'
                              description: >-
                                Address details (populated for school
                                suggestions).
                            logoUrl:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Logo URL (populated for school suggestions).
                          required:
                            - id
                            - name
                            - industry
                            - employeeCountRange
                            - address
                            - logoUrl
                          additionalProperties: false
                        description: >-
                          Matching filter values and their IDs, best match
                          first.
                      type:
                        type: string
                        description: >-
                          Filter category queried: "region", "postal_code",
                          "industry", "school" or "title".
                      query:
                        type: string
                        description: Search text that was queried.
                    required:
                      - suggestions
                      - type
                      - query
                    additionalProperties: false
                required:
                  - timeMs
                  - creditsCost
                  - cachedAt
                  - data
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '402':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: typescript
          label: Bridgly SDK
          source: |-
            import { Bridgly } from '@bridgly/sdk';

            const client = new Bridgly({ apiKey: process.env.BRIDGLY_API_KEY });

            const res = await client.linkedin.searchSalesNavigatorFilters({
              type: "region",
              query: "string",
              count: 25,
            });
            if (res.type === 'success') console.log(res.data);
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Bridgly API key (`bgly_…`). Metered endpoints deduct credits from the
        resolved account.

````

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