---
title: "Search by a sentence in any language"
method: GET
path: "/api/v1/search"
---

# Search by a sentence in any language

`GET /api/v1/search`

## Request

- Base URL: `https://petnecto.com`
- URL: `https://petnecto.com/api/v1/search`
- Auth: none declared

## Query parameters

- `q` string
- `mode` 'smart' | 'hybrid' | 'keyword' | 'bm25'
- `off` string
- `unknown` 'include'
- `near` string
- `country` string
- `species` 'Dog' | 'Cat' | 'Rabbit' | 'Bird' | 'Horse' | 'Small pet' | 'Reptile' | 'Pig' | 'Barnyard'
- `photo` 'good'
- `page` integer
- `limit` integer
- `lang` 'en' | 'es' | 'zh-Hant' | 'zh-Hans' | 'ko' | 'ja' | 'vi' | 'fr' | 'ar' | 'tl'
- `output` 'json' | 'md'

## Response `200`

The answer as JSON (or Markdown with output=md)

- object

## Other responses

- `400`: What went wrong, in a sentence
- `429`: What went wrong, in a sentence
- `502`: What went wrong, in a sentence

---

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