AI Powered API

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

What Does This API Do?

This API helps navigate to the last page of pagination and returns its URL. It uses AI to:

Example Requests:

Using curl:

curl -X POST \
        https://ai-api.gjurchevski.com/api/navigate-last-page \
        -H "Content-Type: application/json" \
        -d '{"url": "https://www.scrapingcourse.com/ecommerce/"}'

Using JavaScript fetch:

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));

Request Format:

The request body must be a valid JSON object with a url property:

{
  "url": "https://www.scrapingcourse.com/ecommerce"
}

Common Errors:

Copyright © 2025 Gjurchevski. All rights reserved.

Ai icon byicons8.com