# Mastersportal — 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 thousands of scholarships from Mastersportal.com to find funding opportunities tailored to your destination country and academic discipline. Filter results by your preferred study location and field of study to discover scholarships that match your educational goals.

**Category:** Education | **Website:** [mastersportal.com/](https://mastersportal.com/) | **Docs:** [parse.bot/marketplace/993b59b3-00c5-4fbb-889d-8c5a968962cc/mastersportal-com-api](https://parse.bot/marketplace/993b59b3-00c5-4fbb-889d-8c5a968962cc/mastersportal-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-mastersportal-com-api-993b59b3/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_scholarships

Search scholarships available on Mastersportal. Results are auto-iterated across pages. Supports filtering by destination country (ISO 2-letter code) and discipline ID. Returns scholarship title, description, provider, deadline, grant details, and a direct URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `destination_country` | string | No | ISO 3166-1 alpha-2 country code to filter scholarships by study destination (e.g. CA for Canada, US for United States, GB for United Kingdom, DE for Germany). |
| `discipline_id` | string | No | Numeric discipline ID to filter scholarships by field of study. Known IDs: 7 (Engineering & Technology), 13 (Business & Management), 10 (Computer Science & IT), 23 (Natural Sciences & Mathematics), 11 (Social Sciences), 24 (Humanities), 14 (Arts, Design & Architecture), 9 (Medicine & Health), 15 (Education & Training), 17 (Law), 12 (Environmental Studies & Earth Sciences), 16 (Agriculture & Forestry), 8 (Hospitality, Leisure & Sports), 22 (Journalism & Media), 19 (Applied Sciences & Professions). |
| `page` | integer | No | Page number for pagination (1-based). |
| `page_size` | integer | No | Number of results per page (1-100). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-mastersportal-com-api-993b59b3/search_scholarships \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination_country":"<string>","discipline_id":"<string>","page":"<integer>","page_size":"<integer>"}'
```
