# Licitaja — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search Brazilian government procurement bids by keyword and filter by specific agencies to find tender opportunities, with access to details like estimated values, bid timelines, descriptions, and itemized lots. Get AI-generated summaries and direct links to bid documents (edital) to help you quickly evaluate procurement opportunities.

**Category:** Government & Public Data | **Website:** [www.licitaja.com.br/](https://www.licitaja.com.br/) | **Docs:** [parse.bot/marketplace/17db5875-543c-49bf-85d0-b3152e438038/licitaja-com-br-api](https://parse.bot/marketplace/17db5875-543c-49bf-85d0-b3152e438038/licitaja-com-br-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-licitaja-com-br-api-17db5875/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_licitacoes

Full-text search over Brazilian government procurement bids (licitações). Returns up to 5 results per search (site limitation). Each result includes agency, object description, dates, estimated value, edital link, AI summary, and itemized lots. The optional orgao filter applies client-side partial matching after results are retrieved from the site.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | Yes | Search keyword(s) for procurement bids. Can combine multiple terms. |
| `orgao` | string | No | Filter results by agency name (case-insensitive partial match). Applied after search results are retrieved. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-licitaja-com-br-api-17db5875/search_licitacoes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","orgao":"<string>"}'
```
