This is a sample API endpoint for demonstration purposes. It provides an AI-powered way to identify and extract the URL of the last page in a paginated structure.
To test the API, send POST requests to:
https://ai-api.gjurchevski.com/api/navigate-last-page
This API helps navigate to the last page of pagination and returns its URL. It uses AI to:
curl -X POST \
https://ai-api.gjurchevski.com/api/navigate-last-page \
-H "Content-Type: application/json" \
-d '{"url": "https://www.scrapingcourse.com/ecommerce/"}'
fetch('https://ai-api.gjurchevski.com/api/navigate-last-page', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
url: 'https://www.scrapingcourse.com/ecommerce/'
})
})
.then(response => response.json())
.then(data => console.log(data));
The request body must be a valid JSON object with a url property:
{
"url": "https://www.scrapingcourse.com/ecommerce"
}
application/jsonurl property must be a non-empty stringCopyright © 2025 Gjurchevski. All rights reserved.
Ai icon byicons8.com