# Passport Cityofnewyork — 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 browse public procurement solicitations from New York City's official sourcing portal to find RFx (Request for Proposals, Quotes, and Information) opportunities. Filter solicitations by keyword to quickly identify relevant contracting opportunities that match your business needs.

**Category:** Government & Public Data | **Website:** [passport.cityofnewyork.us/page.aspx/en/rfp/request_browse_public](https://passport.cityofnewyork.us/page.aspx/en/rfp/request_browse_public) | **Docs:** [parse.bot/marketplace/cf1e7c3e-fcdc-4411-9bd6-09f3d07e53fb/passport-cityofnewyork-us-api](https://parse.bot/marketplace/cf1e7c3e-fcdc-4411-9bd6-09f3d07e53fb/passport-cityofnewyork-us-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-passport-cityofnewyork-us-api-cf1e7c3e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### list_solicitations

List all public solicitations available on NYC PASSPort. Returns paginated results from the public browse page, automatically advancing through server-side pages. Each page contains 15 results. Without a keyword filter, returns all solicitations ordered by most recent release date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | No | Optional keyword to filter solicitations by name or description. |
| `max_pages` | integer | No | Maximum number of pages to retrieve. Each page contains 15 results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-passport-cityofnewyork-us-api-cf1e7c3e/list_solicitations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","max_pages":"<integer>"}'
```

### search_solicitations

Search public solicitations by keyword. Submits a search query through the PASSPort search form and returns matching results with pagination. Each page contains 15 results. The keyword matches against procurement names, descriptions, and related fields.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | No | Search keyword to filter solicitations by name, description, or related fields. |
| `max_pages` | integer | No | Maximum number of pages to retrieve. Each page contains 15 results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-passport-cityofnewyork-us-api-cf1e7c3e/search_solicitations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","max_pages":"<integer>"}'
```
