# Search Rates by Name `GET https://api.leapa.co/v2/rates/search` Search Rates by Name prefix Send your API key as a bearer token in the `Authorization` header. ## Query parameters - `name` · _string_ · **required** Example: `Jeanne Ndayishimiye` ## Response 200 No fields. ```json [ { "id": "obj_5f21c8a40b", "name": "Jeanne Ndayishimiye", "code": "string", "type": "time", "days": [ "monday" ], "amount": 45000, "description": "Room 204, two nights", "from_date": 0, "to_date": 0, "amount_limit": 45000, "created_date": 0 } ] ``` ## Status codes - `200` OK - `400` Bad request - `401` Unauthorized - `402` Payment required - `403` Forbidden - `404` Not found - `428` Precondition required - `500` Server error ## Example ```bash curl -X GET "https://api.leapa.co/v2/rates/search?name=Jeanne Ndayishimiye" \ -H "Authorization: Bearer $LEAPA_API_KEY" \ -H "Accept: application/json" ``` --- _Generated from the Leapa documentation at leapa.co/docs._