# Bar and Bench — 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.

> Stay updated with India's latest legal news and court developments by accessing real-time articles from Bar and Bench's comprehensive legal journalism platform. Get timely insights on judiciary decisions, legal policy changes, and important case updates directly from one of India's most trusted sources for legal information.

**Category:** News & Media | **Website:** [www.barandbench.com/news](https://www.barandbench.com/news) | **Docs:** [parse.bot/marketplace/9d92161f-993d-457f-859f-e8f9d503d50a/barandbench-com-api](https://parse.bot/marketplace/9d92161f-993d-457f-859f-e8f9d503d50a/barandbench-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-barandbench-com-api-9d92161f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_latest_news

Fetch the latest news articles from Bar and Bench, ordered most-recent first. Each article includes headline, publication date, URL, author, and a short summary (standfirst). Results are auto-iterated via offset-based pagination; the SDK advances pages automatically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of articles per page (1–50). |
| `offset` | integer | No | Zero-based article offset for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-barandbench-com-api-9d92161f/get_latest_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>"}'
```
