Uncategorized

Finding hidden api’s

Finding a hidden api can open up lots of possibilities; from data scraping, archiving, alerts and analysis you can do so much. Even better if you don’t need an api key and there is no limits.

Snooping for hidden api endpoints can be hit or miss. Most sites don’t have them but you will be surprised which sites do. Also note that whilst one part of a website might not have an open api another part might.

I have found plenty most of which I wont give away as I don’t wont to wreck the opportunity and/or it wouldn’t be the right thing to do (exposing an opening).

Here is how to find hidden apis

In your web browser of choice open up the development console, navigate to the network tab and click XHR

Now go to a page you want to snoop a hidden api for, for this example I will use Myer (retail store). Specifically the cameras category and as you can see we got some URLs filtered through:

The domain starting with api. is the best indicator we have found gold, click it and click responses to see “hopefully” some lovely .json formatted data

to have a proper look at the URL and the full json response right-click the link and open in a new tab. If it did open in a new tab and display the data then good chances is the api isnt locked down, otherwise it may be needing cookies and verification.

Have a look on sites you use or think getting data from will be useful or interesting, not all sites have them but you will be surprised.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago