Lnk.Bio page API

A Lnk.Bio page: the creator's name, bio, avatar, every link in page order and the social accounts it points to.

GETapi.socialscrape.io/v1/linkbio
Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits
Status
Betashape may still gain fields

Lnk.Bio only serves browser-like clients, so this one is slower. Pass the page url or just the handle.

You send one of url or handle.

Request

Send your key in the x-api-key header.

curl
curl -G "https://api.socialscrape.io/v1/linkbio" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode 'url=https://lnk.bio/msjennafischer'
Python
import os
import requests

params = {
    "url": "https://lnk.bio/msjennafischer",
}
res = requests.get(
    "https://api.socialscrape.io/v1/linkbio",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
    timeout=60,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/linkbio");
url.search = new URLSearchParams({
  url: "https://lnk.bio/msjennafischer",
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape Lnk.Bio page",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/linkbio",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "https://lnk.bio/msjennafischer"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Parameters

NameTypeRequiredDescription
urlurlone ofLnk.Bio page URL.
handlestringone ofLnk.Bio username. Also accepted as username.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are public data, not yours.

Status 200Sample
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_f012b9a45d74770c0e51bfac",
  "data": {
    "object": "link_page",
    "platform": "linkbio",
    "handle": "msjennafischer",
    "url": "https://lnk.bio/msjennafischer",
    "name": null,
    "bio": "My Favorite Lnks",
    "avatar_url": "https://s3.us-west-2.amazonaws.com/cdn.lnk.bio/profilepics/-1154992_20210503548.jpg",
    "links": [
      {
        "title": "From “The Office” to Cancer Survivor and Advocate",
        "url": "https://www.futureofpersonalhealth.com/campaign/cancer-care/"
      },
      {
        "title": "Office Ladies Merch",
        "url": "http://shopofficeladies.com/"
      },
      {
        "title": "Future of Cancer Care Website",
        "url": "https://bit.ly/3STi9jN"
      }
    ],
    "socials": [
      {
        "title": "instagram",
        "url": "https://www.instagram.com/msjennafischer"
      },
      {
        "title": "youtube",
        "url": "https://www.youtube.com/playlist?list=PLD7nPL1U-R5rmvJo2L49IK-vKu2qB-fvx"
      }
    ],
    "extra": {
      "emails": [],
      "id": "-1154992",
      "link_details": [
        {
          "id": "10079664",
          "title": "From “The Office” to Cancer Survivor and Advocate",
          "type": "link",
          "url": "https://www.futureofpersonalhealth.com/campaign/cancer-care/"
        },
        {
          "id": "4658290",
          "title": "Office Ladies Merch",
          "type": "link",
          "url": "http://shopofficeladies.com/"
        },
        {
          "id": "10079651",
          "title": "Future of Cancer Care Website",
          "type": "link",
          "url": "https://bit.ly/3STi9jN"
        }
      ]
    }
  },
  "cursor": null,
  "has_more": null
}

Fields

One LinkPage in data.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"link_page"
platformPlatformyes
handlestring or null
urlstring or null
namestring or null
biostring or null
avatar_urlstring or null
linksLink[] or null
socialsLink[] or nulltitle = platform name
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

Is there an SDK call for it?

The preview Python client has client.linkbio.get(...) and the TypeScript client client.linkbio.get(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.

Can an AI agent call it?

Yes. The MCP server reaches every built endpoint, with the same prices.

Build on social data early.

Developers and agent builders get the first keys.

Get early access