# Flexieduconsult — 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 data from flexieduconsult.com.ng.

**Category:** Education | **Website:** [www.flexieduconsult.com.ng/](https://www.flexieduconsult.com.ng/) | **Docs:** [parse.bot/marketplace/513aa204-92ea-41f6-88e2-12ed2ee0ba27/flexieduconsult-com-ng-api](https://parse.bot/marketplace/513aa204-92ea-41f6-88e2-12ed2ee0ba27/flexieduconsult-com-ng-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-flexieduconsult-com-ng-api-513aa204/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_article

Retrieve a single news article by its document ID. Returns the full article content including title, body text, timestamp, and image URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_id` | string | Yes | Firestore document ID of the article. Obtained from list_news results (e.g. 'WAUXmgioagIl3J9Wbx1S'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flexieduconsult-com-ng-api-513aa204/get_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_id":"<string>"}'
```

### list_news

List news articles ordered by most recent first. Returns paginated results with article summaries including title, content, timestamp, and image URL. Results are auto-iterated across pages; pass limit to cap total items fetched.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page_size` | integer | No | Number of articles per page, between 1 and 100. |
| `page_token` | string | No | Opaque token for fetching the next page of results. Obtained from a previous list_news response's next_page_token field. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flexieduconsult-com-ng-api-513aa204/list_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page_size":"<integer>","page_token":"<string>"}'
```
