# RankAI

> Find and read articles published through a RankAI custom-built site.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/rankai

## Actions

### Get published article

Read the full article in HTML or Markdown.

**Inputs**

- Article (`slug`, text, required): Article.
- Format (`format`, text): Choose HTML or Markdown for the article body. One of: `html`, `markdown`.

**Outputs**

- `data` (object): The response from RankAI.

**Example output**

```json
{
  "data": {
    "data": {
      "content": "Example",
      "description": "Example",
      "featuredImageUrl": "Example",
      "id": "sample_id",
      "publishedDate": "2026-11-30T12:00:00Z",
      "title": "Example"
    },
    "success": true
  }
}
```

### List published articles

Read a page of articles that are published to your custom site.

**Inputs**

- Page (`page`, number): The page number to read. At least 1.
- Limit (`limit`, number): The maximum number of articles in a page. From 1 to 100.

**Outputs**

- `data` (object): The response from RankAI.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "description": "Example",
        "featuredImageUrl": "Example",
        "id": "sample_id",
        "keyword": "Example",
        "publishedDate": "2026-11-30T12:00:00Z",
        "publishedUrl": "Example",
        "slug": "Example",
        "title": "Example"
      }
    ],
    "pagination": {
      "limit": 1,
      "page": 1,
      "total": 1,
      "totalPages": 1
    },
    "success": true
  }
}
```
