GET /api/v1/search Search pages
Pages whose title or text matches q. auto tries titles first and falls back to the text; fuzzy tolerates typos and needs at least three characters.
| Parameter | Type | Meaning |
|---|---|---|
| qrequired | query · string | What to look for. |
| mode | query · string | How to match. One of auto, title, fulltext, fuzzy. |
| type | query · string | Only pages of this type. One of article, item, monster, npc, quest, miniquest, location, skill, update, category, calculator, disambiguation, redirect, file, transcript, exchange, map, poll, guide, template, module, project, help, unknown. |
| namespace | query · integer | Only this wiki namespace: 0 for articles, 14 for categories. |
| category | query · string | Only pages in the category with this title. |
| limit | query · integer | Results per page, 1 to 100. A larger value is treated as 100. |
| offset | query · integer | How many results to skip, at most 1000. Use cursor to go further. |
| cursor | query · string | The previous page's next_cursor, to continue a list past any offset. Keep the other parameters the same; limit may change. Cannot be combined with a non-zero offset. |
curl "https://osrsindex.com/api/v1/search?q=abyssal+whip"