# Devex — 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 explore global development opportunities including tenders, grants, job postings, news, organizations, and events all in one place. Find funding details, discover career opportunities, and stay updated on international development initiatives through a single integrated platform.

**Category:** Government & Public Data | **Website:** [devex.com/](https://devex.com/) | **Docs:** [parse.bot/marketplace/1f736152-efea-43d5-a648-8b1ec47135a6/devex-com-api](https://parse.bot/marketplace/1f736152-efea-43d5-a648-8b1ec47135a6/devex-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-devex-com-api-1f736152/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_funding_detail

Get detailed information for a specific funding opportunity including value and awardees. Full project scope may require a Devex Pro subscription; a paywall_url is returned when details are gated. Returns a single FundingOpportunity with all available fields.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | Numeric ID of the tender or grant (from search_funding results data[*].id). |
| `item_type` | string | No | Type of the item. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/get_funding_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>","item_type":"<string>"}'
```

### search_events

List upcoming development sector events. Returns only future events. Each event includes title, description, start/end times, registration status, and thumbnail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/search_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### search_funding

Search for funding opportunities (tenders, grants, programs, etc.) with various filters. Returns paginated results sorted by most recently updated. Each result carries an id, type, title, location, deadline, and status. Use get_funding_detail to retrieve value and awardee information for a specific opportunity.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Keyword search query to filter funding opportunities. |
| `statuses` | string | No | Comma-separated statuses to filter by. Accepted values: forecast, open, closed. |
| `types` | string | No | Comma-separated funding types to filter by. Accepted values: tender, grant. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/search_funding \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>","statuses":"<string>","types":"<string>"}'
```

### search_jobs

Search for development sector jobs. Returns paginated results sorted by relevance score. Each result includes job title, career level, locations, closing date, and employer information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Keyword search query to filter jobs. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/search_jobs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```

### search_news

Search for news articles covering global development. Returns paginated results. Each article includes title, teaser, publication date, authors, and topic tags.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Keyword search query to filter news articles. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/search_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```

### search_organizations

Search for organizations, donors, and contractors in the development sector. Returns paginated results. Each organization includes name, logo, description, size, types, office locations, and active job count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Keyword search query to filter organizations. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-devex-com-api-1f736152/search_organizations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```
