Link Resolvers
Instagram Share Link
Who shared an Instagram post or reel link
GET
/
api
/
instagram-resolver
curl "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample" \
-H "X-API-KEY: YOUR_API_KEY"
import requests
url = "https://www.osintcat.net/api/instagram-resolver"
params = {"link": "https://www.instagram.com/reel/Cexample/?igsh=MWexample"}
headers = {"X-API-KEY": "YOUR_API_KEY"}
response = requests.get(url, params=params, headers=headers, timeout=60)
print(response.status_code, response.json())
const response = await fetch("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", {
headers: { "X-API-KEY": "YOUR_API_KEY" },
});
console.log(response.status, await response.json());
<?php
$curl = curl_init("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample");
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-KEY: YOUR_API_KEY"],
]);
$response = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
echo $status . " " . $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", nil)
req.Header.Set("X-API-KEY", "YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.StatusCode, string(body))
}
{
"success": true,
"author": {},
"sharer": {},
"entity_id": "<string>",
"_meta": {}
}Resolves an Instagram post or reel share link to the account that shared it and the author of the post. Profile links cannot be resolved.
See Errors for the responses every endpoint can return.
Parameters
string
required
An Instagram post or reel share link (with its
igsh parameter). url or query are accepted as well.Headers
string
required
Your API key.
Usage
Counts as one lookup against your plan’s daily allowance (Max: unlimited). When the allowance is used up, the lookup can continue at a per-lookup price charged to your balance (the module’s page in the dashboard shows the price); a lookup that finds nothing is not charged.Example request
curl "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample" \
-H "X-API-KEY: YOUR_API_KEY"
import requests
url = "https://www.osintcat.net/api/instagram-resolver"
params = {"link": "https://www.instagram.com/reel/Cexample/?igsh=MWexample"}
headers = {"X-API-KEY": "YOUR_API_KEY"}
response = requests.get(url, params=params, headers=headers, timeout=60)
print(response.status_code, response.json())
const response = await fetch("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", {
headers: { "X-API-KEY": "YOUR_API_KEY" },
});
console.log(response.status, await response.json());
<?php
$curl = curl_init("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample");
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-KEY: YOUR_API_KEY"],
]);
$response = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
echo $status . " " . $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", nil)
req.Header.Set("X-API-KEY", "YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.StatusCode, string(body))
}
SDK example
The same request with the official SDKs. Each one reads your key fromOSINTCAT_API_KEY.
import { OsintCatClient } from "osintcat";
const client = new OsintCatClient(); // reads OSINTCAT_API_KEY
const result = await client.instagram.resolveShareLink({
link: "https://www.instagram.com/reel/Cexample/?igsh=MWexample"
});
console.log(result);
from osintcat import OsintCat
client = OsintCat() # reads OSINTCAT_API_KEY
result = client.instagram.resolve_share_link(
link="https://www.instagram.com/reel/Cexample/?igsh=MWexample",
)
print(result)
package main
import (
"context"
"fmt"
osintcat "github.com/OsintCatHQ/osintcat-go"
osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)
func main() {
client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
request := &osintcat.ResolveShareLinkInstagramRequest{
Link: "https://www.instagram.com/reel/Cexample/?igsh=MWexample",
}
result, err := client.Instagram.ResolveShareLink(context.Background(), request)
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", result)
}
<?php
require __DIR__ . '/vendor/autoload.php';
use OsintCat\OsintCatClient;
use OsintCat\Instagram\Requests\ResolveShareLinkInstagramRequest;
$client = new OsintCatClient(); // reads OSINTCAT_API_KEY
$result = $client->instagram->resolveShareLink(
new ResolveShareLinkInstagramRequest([
'link' => 'https://www.instagram.com/reel/Cexample/?igsh=MWexample',
]),
);
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
Response
boolean
true when resolved.object
The account that posted it:
username, avatar.object
The account that shared the link:
username, full_name, id, avatar.string
ID of the shared post.
object
Your usage after this request.
Errors
| Status | Error | When |
|---|---|---|
| 400 | Provide a valid Instagram URL via ?link=... | No link, not an Instagram link, or the link expired or points to a private post. Not charged. |
| 422 | profile_link | A profile link: only post and reel share links can be resolved. Not charged. |
| 424 | (message) | The link could not be resolved right now. Not charged. |
Was this page helpful?
⌘I
curl "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample" \
-H "X-API-KEY: YOUR_API_KEY"
import requests
url = "https://www.osintcat.net/api/instagram-resolver"
params = {"link": "https://www.instagram.com/reel/Cexample/?igsh=MWexample"}
headers = {"X-API-KEY": "YOUR_API_KEY"}
response = requests.get(url, params=params, headers=headers, timeout=60)
print(response.status_code, response.json())
const response = await fetch("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", {
headers: { "X-API-KEY": "YOUR_API_KEY" },
});
console.log(response.status, await response.json());
<?php
$curl = curl_init("https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample");
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-KEY: YOUR_API_KEY"],
]);
$response = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
echo $status . " " . $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://www.osintcat.net/api/instagram-resolver?link=https%3A%2F%2Fwww.instagram.com%2Freel%2FCexample%2F%3Figsh%3DMWexample", nil)
req.Header.Set("X-API-KEY", "YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.StatusCode, string(body))
}
{
"success": true,
"author": {},
"sharer": {},
"entity_id": "<string>",
"_meta": {}
}