# Corfo — 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.

> Access Chilean government funding programs, open calls (convocatorias), and press releases from CORFO to discover financial support opportunities and institutional updates. Filter by region, status, and profile to retrieve details on available grants, eligibility criteria, funding amounts, and application procedures.

**Category:** Government & Public Data | **Website:** [corfo.cl/](https://corfo.cl/) | **Docs:** [parse.bot/marketplace/2f186d06-3221-48aa-bca3-48149caf8911/corfo-cl-api](https://parse.bot/marketplace/2f186d06-3221-48aa-bca3-48149caf8911/corfo-cl-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-corfo-cl-api-2f186d06/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_program_detail

Retrieves full details for a specific CORFO program or convocatoria by its URL, including eligibility criteria, funding amounts, application steps, calendar, and legal bases. The URL should come from a list_programs result.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | The full URL of the program/convocatoria detail page (from list_programs results). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-corfo-cl-api-2f186d06/get_program_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### list_news

Returns a list of recent news articles from CORFO's Sala de Prensa (press room), including national and regional news. No pagination or filters available.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-corfo-cl-api-2f186d06/list_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_programs

Returns a paginated list of CORFO programs and convocatorias. Supports keyword search and multiple faceted filters for region, status, profile, sales level, stage, and need. Each page returns up to 10 results; use the total field and page param to paginate through all results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `alcance` | string | No | Region filter slug. Use values from list_regions endpoint (e.g. 'los-lagos', 'metropolitana', 'nacional'). |
| `estado` | string | No | Status filter: 'abiertas' for open programs, 'cerradas' for closed programs. |
| `etapa` | string | No | Stage filter (e.g. 'quiero-escalar'). |
| `necesidad` | string | No | Need/type filter (e.g. 'subsidios'). |
| `page` | integer | No | Page number for pagination. |
| `perfil` | string | No | Profile filter (e.g. 'empresa', 'persona'). |
| `search` | string | No | Keyword search query to filter programs by name or description. |
| `venta` | string | No | Sales level filter (e.g. 'microempresa'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-corfo-cl-api-2f186d06/list_programs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"alcance":"<string>","estado":"<string>","etapa":"<string>","necesidad":"<string>","page":"<integer>","perfil":"<string>","search":"<string>","venta":"<string>"}'
```

### list_regions

Returns the list of available regions and territories that can be used as the alcance filter in list_programs. Values are stable slugs suitable for direct use in the alcance parameter.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-corfo-cl-api-2f186d06/list_regions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
