# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/biddingo/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/biddingo/get-bid-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/biddingo/get-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/biddingo/get-regions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/biddingo/search-bids \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category_ids":"<string>","keyword":"<string>","limit":"<integer>","page_number":"<integer>","region_ids":"<string>","sort":"<string>","statuses":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.