# Yardi — 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 Yardi's latest news, press releases, and company content by searching across all articles, filtering and browsing posts by category, or retrieving detailed information about individual stories. Quickly find relevant Yardi company updates and announcements through powerful search and category browsing capabilities.

**Category:** News & Media | **Website:** [www.yardi.com/](https://www.yardi.com/) | **Docs:** [parse.bot/marketplace/7ddae870-da20-4631-ade6-01984c187700/yardi-com-api](https://parse.bot/marketplace/7ddae870-da20-4631-ade6-01984c187700/yardi-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-yardi-com-api-7ddae870/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_categories

List available post categories with their IDs, names, and post counts. Use category IDs to filter posts in the get_posts endpoint. Returns all categories when per_page is large enough.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of categories per page, between 1 and 100. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-yardi-com-api-7ddae870/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","per_page":"<integer>"}'
```

### get_post

Get the full details of a single post by its numeric ID, including full content as plain text. Post IDs can be obtained from the search or get_posts endpoints. Returns 422 if the post does not exist.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `post_id` | string | Yes | Numeric post ID (e.g. '405699'). Obtained from search or get_posts results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-yardi-com-api-7ddae870/get_post \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id":"<string>"}'
```

### get_posts

Get news posts and press releases from Yardi, with optional search and category filtering. Returns paginated results ordered by date descending. Each post includes title, excerpt, publication date, categories, and media references. Use category IDs from get_categories to filter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `categories` | string | No | Comma-separated category IDs to filter by (e.g. '9849' for Press Releases, '9834' for News). Category IDs can be obtained from the get_categories endpoint. |
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of posts per page, between 1 and 100. |
| `search` | string | No | Filter posts by search term. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-yardi-com-api-7ddae870/get_posts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"categories":"<string>","page":"<integer>","per_page":"<integer>","search":"<string>"}'
```

### search

Search across all Yardi content types including posts, pages, resources, client stories, solutions, and files. Returns paginated results with title, URL, and content type information. Paginates via integer page number; total and total_pages indicate result depth. The subtype filter restricts to one content kind when set.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of results per page, between 1 and 100. |
| `query` | string | Yes | Search query string. |
| `subtype` | string | No | Filter by content subtype. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-yardi-com-api-7ddae870/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","per_page":"<integer>","query":"<string>","subtype":"<string>"}'
```
