# Biddingo — 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 and filter government procurement bids and RFPs across different regions and categories to find relevant opportunities. Access detailed project descriptions and bid information to help you discover and evaluate contracting opportunities that match your business needs.

**Category:** Government & Public Data | **Website:** [biddingo.com/](https://biddingo.com/) | **Docs:** [parse.bot/marketplace/acc8ad7d-609d-4022-bcac-1d52796012ef/biddingo-com-api](https://parse.bot/marketplace/acc8ad7d-609d-4022-bcac-1d52796012ef/biddingo-com-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-biddingo-com-api-acc8ad7d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_bid_detail

Retrieve full details for a specific bid solicitation including HTML preview of the bid description. Requires buyer_org_id and biddingo_tender_id from a search_bids result. Returns the full bid record with category list, closing date, contract type, and detailed HTML description.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `biddingo_tender_id` | string | Yes | Biddingo tender ID from search_bids results (bidInfoList[*].biddingoTenderId). |
| `buyer_org_id` | string | Yes | Buyer organization ID from search_bids results (bidInfoList[*].buyerOrgId). |
| `buyer_sys_id` | string | No | Buyer system ID from search_bids results (bidInfoList[*].buyerSysId). Almost always '1'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biddingo-com-api-acc8ad7d/get_bid_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"biddingo_tender_id":"<string>","buyer_org_id":"<string>","buyer_sys_id":"<string>"}'
```

### get_categories

Retrieve the list of bid categories and subcategories for filtering bids. Returns parent categories and a map of child categories keyed by parent category code. Use category IDs as the category_ids parameter in search_bids.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biddingo-com-api-acc8ad7d/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_regions

Retrieve the list of available geographic regions for filtering bids. Returns all regions with their IDs, names, and country. Use region IDs as the region_ids parameter in search_bids.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biddingo-com-api-acc8ad7d/get_regions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_bids

Search for active bid/RFP solicitations with various filters. Returns paginated results sorted by the specified field. Each result contains summary information; use get_bid_detail for the full description. Paginates via integer page counter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_ids` | string | No | Comma-separated list of category IDs to filter by (IDs from get_categories endpoint). |
| `keyword` | string | No | Search keyword or solicitation number to match against bid titles and descriptions. |
| `limit` | integer | No | Number of results per page. |
| `page_number` | integer | No | Page number to retrieve (1-based). |
| `region_ids` | string | No | Comma-separated list of region IDs to filter by (IDs from get_regions endpoint, e.g. '1' for Eastern Canada, '3' for Western Canada). |
| `sort` | string | No | Sort order as field:direction. Accepted values: 'postedDate:desc', 'postedDate:asc', 'closingDate:desc', 'closingDate:asc'. |
| `statuses` | string | No | Bid status ID. '1' for Open for Bidding. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biddingo-com-api-acc8ad7d/search_bids \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_ids":"<string>","keyword":"<string>","limit":"<integer>","page_number":"<integer>","region_ids":"<string>","sort":"<string>","statuses":"<string>"}'
```
