Documentation

Instagram

Please Read Before Using The Instagram API


Our instagram scraping endpoints are listed below. To reduce any sort of confusion, we made the API as simple as possible. The API requires a POST request where the body will be  simple JSON. 
For each request we seek  the key you have received after signing up to the client area and the required target value. 

We have made 1 universal  Body which is 

Example :
{  “Key”: “user_key_here”,  “Username”: “user_name_here”}

The Key must be present always and anything else such as Username, UserID,  Post, Link, PostID etc etc are subject of further addition.

A global POST body will be added shortly for better understanding. 

The API Domain is 
https://dsaserve.online

more information can be found in each endpoint section explicitly.

Scrape Profile Web Detail


Please use this endpoint to scrape  profile info of certain instagram account. This endpoint requires the  Username of the target profile. 

The API accepts  Key and Target Username 
The output is JSON we get from Instagram server

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “natgeo”}

URL to POST : APIDomain/api/instagram/userwebdetail

* You will not get any email specified as contact in this response. Please use the profile contact endpoint

Scrape Profile Contact Email / Phone


Coming Soon. You can contact us for further details.

Scrape User > Feed > Posts


Please use this endpoint to scrape  Users Posts. This is pagination supported endpoint which means you have to start the initial scraping and then send the next max_id/cursor for next results and so on as long as you wish to get results.

The API accepts  Key and Target Username 
The output is JSON we get from Instagram server

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “natgeo”} 

URL to POST : APIDomain/api/instagram/userposts

The first response will give you the JSON of the first 12 posts of the target users posts. You will have USerID and max_id from the JSON.

You have to send  Key, UserID, max_id for next posts of the user. You have to repeat this request followed by next max_id which will change in every response.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “”,  “UserID”:”1647124″,  “max_id”:”149722759_1641207124″}

User feed scraping is 2 step process followed by changing max_id value. Output type will be JSON coming from IG server.

Scrape Search > Hashtag > Posts


Scrape Search > Location > Posts


This endpoint scrapes the location posts initiated by the location ID and then paginated by the max_id cursor.

 

The API accepts  Key and Target Location ID

The output is JSON we get from Instagram server

Key – String
LocationID – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key”,  “LocationID”: “id_here”,} 

URL to POST : APIDomain/api/instagram/locationposts

 

After you have received the response, there is a next_max_id cursor which you have to pass for next request on SAME URL and they POST body will look like 

{  “Key”: “user_key”,  “LocationID”: “id”,  “Max_id”:”max_id_here”,  “LocationPageNumber”:”page_number_as_you_paginate”}

 

Scrape Post > Comments


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Scrape Post > Likes


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Scrape User > Stories


Scrape User > ID


Please use this endpoint to scrape  profile id from Username.

The API accepts  Key and Target Username 
The output is JSON 

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “target_user_name_here”}

URL to POST : APIDomain/api/instagram/userid

Scrape Search > Location > User > Stories


Scrape Search > Location > Posts > Media


Scrape User > Followers


Scrape User > Followings


Scrape User > Reels


Scrape User > Tagged


Scrape Search > Users


Scrape User > Videos


Scrape Post > Media ID


Please use this endpoint to scrape  certain posts media ID

The API accepts  Key and Target Post URL and the PostType
The output is JSON 

Key – String
PostURL – String
PostType – string

Example PostType are – image, video, reel

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,“PostURL”:”https://www.instagram.com/p/CyON3zCxvxxxXX/”,“PostType”:”image”

}

URL to POST : APIDomain/api/instagram/mediaid

Scrape Post > Details JSON


Please use this endpoint to scrape  certain posts detail in JSON

The API accepts  Key and Target Post URL and the PostType where PostType is optional
The output is JSON 

Key – String
PostURL – String
PostType – string

Example PostType are – image, video, reel

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,“PostURL”:”https://www.instagram.com/p/CyON3zCxvxxxXX/”,“PostType”:”image”

}

URL to POST : APIDomain/api/instagram/post

Scrape User > User Info [Alternate of profile web detail endpoint]


Our instagram scraping endpoints are listed below. To reduce any sort of confusion, we made the API as simple as possible. The API requires a POST request where the body will be  simple JSON. 
For each request we seek  the key you have received after signing up to the client area and the required target value. 

We have made 1 universal  Body which is 

Example :
{  “Key”: “user_key_here”,  “Username”: “user_name_here”}

The Key must be present always and anything else such as Username, UserID,  Post, Link, PostID etc etc are subject of further addition.

A global POST body will be added shortly for better understanding. 

The API Domain is 
https://dsaserve.online

more information can be found in each endpoint section explicitly.

Please use this endpoint to scrape  profile info of certain instagram account. This endpoint requires the  Username of the target profile. 

The API accepts  Key and Target Username 
The output is JSON we get from Instagram server

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “natgeo”}

URL to POST : APIDomain/api/instagram/userwebdetail

* You will not get any email specified as contact in this response. Please use the profile contact endpoint

Coming Soon. You can contact us for further details.

Please use this endpoint to scrape  Users Posts. This is pagination supported endpoint which means you have to start the initial scraping and then send the next max_id/cursor for next results and so on as long as you wish to get results.

The API accepts  Key and Target Username 
The output is JSON we get from Instagram server

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “natgeo”} 

URL to POST : APIDomain/api/instagram/userposts

The first response will give you the JSON of the first 12 posts of the target users posts. You will have USerID and max_id from the JSON.

You have to send  Key, UserID, max_id for next posts of the user. You have to repeat this request followed by next max_id which will change in every response.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “”,  “UserID”:”1647124″,  “max_id”:”149722759_1641207124″}

User feed scraping is 2 step process followed by changing max_id value. Output type will be JSON coming from IG server.

This endpoint scrapes the location posts initiated by the location ID and then paginated by the max_id cursor.

 

The API accepts  Key and Target Location ID

The output is JSON we get from Instagram server

Key – String
LocationID – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key”,  “LocationID”: “id_here”,} 

URL to POST : APIDomain/api/instagram/locationposts

 

After you have received the response, there is a next_max_id cursor which you have to pass for next request on SAME URL and they POST body will look like 

{  “Key”: “user_key”,  “LocationID”: “id”,  “Max_id”:”max_id_here”,  “LocationPageNumber”:”page_number_as_you_paginate”}

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Please use this endpoint to scrape  profile id from Username.

The API accepts  Key and Target Username 
The output is JSON 

Key – String
Username – String

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,  “Username”: “target_user_name_here”}

URL to POST : APIDomain/api/instagram/userid

Please use this endpoint to scrape  certain posts media ID

The API accepts  Key and Target Post URL and the PostType
The output is JSON 

Key – String
PostURL – String
PostType – string

Example PostType are – image, video, reel

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,”PostURL”:”https://www.instagram.com/p/CyON3zCxvxxxXX/”,”PostType”:”image”

}

URL to POST : APIDomain/api/instagram/mediaid

Please use this endpoint to scrape  certain posts detail in JSON

The API accepts  Key and Target Post URL and the PostType where PostType is optional
The output is JSON 

Key – String
PostURL – String
PostType – string

Example PostType are – image, video, reel

Every API call is charged call, blank API responses should be reimbursed.

Example Body :

{  “Key”: “user_key_here”,”PostURL”:”https://www.instagram.com/p/CyON3zCxvxxxXX/”,”PostType”:”image”

}

URL to POST : APIDomain/api/instagram/post

Twitter

Please Read Before Using The Twitter Scraping API


Scrape User > Detail/Info


Scrape Tweet > Details


Scrape Tweet > Details > Custom


Scrape User > Tweets


Scrape User > Replies


Scrape User > Tweet > Favourites


Scrape User > Followers


Scrape User > Followings


Scrape USer > Likes


Scrape User > List


Scrape USer > Tweets