- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
Contact emails come from the page's contact section. 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.
1curl -G "https://api.socialscrape.dev/v1/linkme" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode 'url=https://link.me/danucd'1import os2import requests34params = {5 "url": "https://link.me/danucd",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/linkme",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11 timeout=60,12)13body = res.json()1415if body["ok"]:16 print(body["data"])17else:18 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/linkme");2url.search = new URLSearchParams({3 url: "https://link.me/danucd",4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape Linkme page",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/linkme",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "url",19 "value": "https://link.me/danucd"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Linkme page URL. |
handle | string | one of | Linkme username. Also accepted as username. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are examples, not your data.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_b7ed012806f2573642fe8cd2",8 "data": {9 "object": "link_page",10 "platform": "linkme",11 "handle": "danucd",12 "url": "https://link.me/danucd",13 "name": "Dana",14 "bio": "ALL MY LINKS👇",15 "avatar_url": "https://media.link.me/_resize/image/quality=90,format=webp/images/webp-images/user-profile/1169288/tmp-2541-1763300314455.webp",16 "links": [17 {18 "title": "Apple-music",19 "url": "https://music.apple.com/ng/artist/danucd/1562315189"20 },21 {22 "title": "Spotify",23 "url": "https://open.spotify.com/artist/0A8XmfCL2yangEtvot3peD?autoplay=true&source_application=google_assistant"24 },25 {26 "title": "Instagram",27 "url": "https://www.instagram.com/danucd/"28 }29 ],30 "socials": [31 {32 "title": "apple_music",33 "url": "https://music.apple.com/ng/artist/danucd/1562315189"34 },35 {36 "title": "spotify",37 "url": "https://open.spotify.com/artist/0A8XmfCL2yangEtvot3peD?autoplay=true&source_application=google_assistant"38 },39 {40 "title": "instagram",41 "url": "https://www.instagram.com/danucd/"42 }43 ],44 "extra": {45 "ambassador": true,46 "created_at": "2024-11-01T12:37:51.000Z",47 "emails": [48 {49 "email": "[email protected]",50 "found_in": "info_link",51 "source_url": "https://link.me/danucd"52 }53 ],54 "first_name": "Dana",55 "id": "1bf3efbf94cc4f55d3650ddc61094ac3",56 "link_details": [57 {58 "handle": "1562315189",59 "id": 1450958,60 "title": "Apple-music",61 "type": "apple_music",62 "url": "https://music.apple.com/ng/artist/danucd/1562315189"63 },64 {65 "handle": "0A8XmfCL2yangEtvot3peD",66 "id": 1450956,67 "title": "Spotify",68 "type": "spotify",69 "url": "https://open.spotify.com/artist/0A8XmfCL2yangEtvot3peD?autoplay=true&source_application=google_assistant"70 },71 {72 "handle": "danucd",73 "id": 1450950,74 "title": "Instagram",75 "type": "instagram",76 "url": "https://www.instagram.com/danucd/"77 }78 ]79 }80 },81 "cursor": null,82 "has_more": null83}Fields
One LinkPage in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "link_page" | ||
platform | Platform | yes | |
handle | string or null | ||
url | string or null | ||
name | string or null | ||
bio | string or null | ||
avatar_url | string or null | ||
links | Link[] or null | ||
socials | Link[] or null | title = platform name | |
extra | object 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 Python client has client.linkme.get(...) and the TypeScript client client.linkme.get(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.
Can an AI agent call it?
Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.