---
title: "Search games by title"
method: GET
path: "/v1/games"
tags: ["Games"]
---

# Search games by title

`GET /v1/games`

## Request

- Base URL: `https://api.fairly.gg`
- URL: `https://api.fairly.gg/v1/games`
- Auth: one of:
  - API key in header `X-Api-Key`
  - none

Title search (pg_trgm), first 20 results.

## Query parameters

- `q` string

## Response `200`

OK

- ApiResponseOfIReadOnlyListOfGameSummary
  - `data` GameSummary[], nullable, required
    - `id` integer, required
    - `steam_app_id` integer, nullable, required
    - `igdb_id` integer, nullable, required
    - `title` string, required
    - `slug` string, required
    - `cover_url` string, nullable, required
    - `cover_portrait_url` string, nullable
  - `fetched_at` string, date-time, required
  - `data_age_seconds` integer, required
  - `stale` boolean, required
  - `region` unknown
  - `currency` string, nullable
  - `region_fallback` boolean, nullable
  - `attribution` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/fairly/apis/fairly-api.md) · [All operations](https://skmtc.dev/fairly/apis/fairly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fairly/apis/fairly-api/revisions/9b21c64dffa2?raw)
