Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Discover URLs on a website via robots.txt, sitemaps, and page links.
cURL
curl --request POST \ --url https://api.gainflow.ai/v1/map \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>" } '
import requests url = "https://api.gainflow.ai/v1/map" payload = { "url": "<string>" } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({url: '<string>'}) }; fetch('https://api.gainflow.ai/v1/map', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "data": { "url": "<string>", "links": [ { "url": "<string>", "text": "<string>" } ] }, "meta": { "request_id": "<string>", "fetched_at": "2023-11-07T05:31:56Z", "credits_used": 123, "duration_ms": 123 } }
{ "type": "<string>", "title": "<string>", "status": 123, "code": "UNAUTHORIZED", "request_id": "<string>", "detail": "<string>" }
Either a Gainflow API key (gf_live_*) or a WorkOS AuthKit OAuth 2.1 JWT.
Optional 24-hour idempotency key (max 128 chars). Reusing with a different payload returns 409 Conflict.
1 - 128
2048
200
1 <= x <= 5000
^[A-Z]{2}$
Discovered URLs
Show child attributes