---
title: "Search acts (1 credit)"
method: GET
path: "/v1/legislation/search"
tags: ["Legislation"]
---

# Search acts (1 credit)

`GET /v1/legislation/search`

## Request

- Base URL: `https://api.howtoromania.io`
- URL: `https://api.howtoromania.io/v1/legislation/search`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

By citation ('Legea 31/1990') or title words

## Query parameters

- `q` string, required
- `type` string
- `number` string
- `year` string
- `limit` integer

## Response `200`

OK

- object
  - `data` object

## Other responses

- `400`: Invalid input (not billed)
- `401`: Missing/invalid key
- `402`: Out of credits; credit packs open soon
- `403`: Endpoint not in demo key
- `404`: Not found (not billed)
- `429`: Demo limit reached
- `502`: Upstream error (not billed)

---

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