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…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago