---
title: "Search Instagram accounts, hashtags and places"
method: GET
path: "/v1/search"
tags: ["Discovery"]
---

# Search Instagram accounts, hashtags and places

`GET /v1/search`

## Request

- Base URL: `https://data.fastsocial.co`
- URL: `https://data.fastsocial.co/v1/search`
- Auth: API key in header `X-API-Key`

Matching accounts, hashtags (with post counts) and places (with location ids).

Cost: **1 credit**.

## Query parameters

- `q` string, required

## Response `200`

OK

- object
  - `ok` unknown, required
  - `data` SearchResults, required
    - `query` string
    - `users` UserSummary[]
      - `id` string, nullable
      - `username` string
      - `full_name` string
      - `is_private` boolean
      - `is_verified` boolean
      - `avatar_url` string, nullable
    - `hashtags` Hashtag[]
      - `id` string, nullable
      - `name` string
      - `media_count` integer, nullable
    - `places` PlaceSummary[]
      - `id` string
      - `name` string
      - `address` string, nullable
      - `city` string, nullable
      - `lat` number, nullable
      - `lng` number, nullable
  - `meta` Meta, required
    - `cache` 'hit' | 'miss' | 'stale'
    - `age_seconds` integer
    - `stale` boolean
    - `credits` integer
    - `credits_remaining` integer, nullable

## Other responses

- `400`: Error
- `401`: Error
- `404`: Error
- `422`: Error
- `429`: Error
- `451`: Error
- `502`: Error
- `503`: Error

---

[API](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api.md) · [All operations](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api/revisions/fe69c993e76a?raw)
