Install the Up2Data skill

Teach Claude Code to integrate the Up2Data API. Installs once, then loads automatically whenever you ask it about Up2Data.

  1. Run this in your terminal
    bash
    mkdir -p ~/.claude/skills/up2data-api && curl -fsSL https://up2data.ai/docs/v1/skill.md -o ~/.claude/skills/up2data-api/SKILL.md
  2. Restart Claude CodeSo it picks up the new skill.
  3. Try it"Enrich these LinkedIn profiles with Up2Data and send results to my webhook"

Requires Claude Code. macOS, Linux, or WSL.

Prefer to read it first? View the skill file

Get profile recommendations

Get the written recommendations a profile has received, given, or both.

POSThttps://api.up2data.ai/v1/profiles/recommendations
1 credit per non-empty directiondirection both is up to 2; empty results are freesynchronous

One endpoint with a direction parameter, not separate given and received routes. Identify the profile with url or urn; provide exactly one. Each requested direction comes back as its own block with its own pagination. A block with no recommendations has an empty list and no pagination.

Info

Send many as batch operation items (operation profiles.recommendations); billed per non-empty direction, same as the sync call. See the batch endpoint.

#Request

FieldTypeNotes
urlstringProfile URL or public identifier. Provide url or urn.
urnstringLinkedIn member URN. Provide url or urn.
directionstringDefault both. Enum: given, received, both.
pageintegerDefault 1. Applies to each direction.
per_pageintegerDefault 10. 1 to 25, per direction.

#Call it

cURL
curl -X POST "https://api.up2data.ai/v1/profiles/recommendations" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.linkedin.com/in/janedoe",
  "direction": "both",
  "page": 1
}'

#Response

200 - direction: both
{
  "data": {
    "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "direction": "both", "scraped_at": "2026-07-08T12:00:00Z",
    "given": {
      "recommendations": [{ "text": "Jane is an exceptional leader. She rebuilt our go-to-market motion around live profile data.", "relationship": "Jane managed Alex directly", "created_at": "2024-03-15T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/example", "full_name": "Alex Example", "headline": "VP Sales at Example Corp", "urn": "ACoAABOPHB8BM6alexex" } }],
      "pagination": { "page": 1, "per_page": 10, "has_more": false }
    },
    "received": {
      "recommendations": [{ "text": "Outstanding engineer and a generous mentor.", "relationship": "Sam worked with Jane on the same team", "created_at": "2025-01-10T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/manager", "full_name": "Sam Manager", "headline": "Engineering Director at Example Corp", "urn": "ACoAABOPHB8BM6sammgr" } }],
      "pagination": { "page": 1, "per_page": 10, "has_more": true }
    }
  },
  "meta": { "creditsUsed": 2, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 }
}
200 - No recommendations
{
  "data": {
    "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "direction": "both", "scraped_at": "2026-07-08T12:00:00Z",
    "given": { "recommendations": [] },
    "received": { "recommendations": [] }
  },
  "meta": { "creditsUsed": 0, "creditsRemaining": 98420, "billed": false, "reason": "empty_result", "requestId": "req_example", "latencyMs": 1900 }
}

#Errors

StatusTypeWhenBilled
400invalid_requestMalformed body, unknown field, bad URL format, or a direction outside the enum.No
401invalid_api_keyMissing, malformed, or revoked key.No
402insufficient_creditsBalance can't cover every requested direction.No
422unprocessable_targetProfile not found, private, deleted, or unreachable. Billed as 1 credit.Yes
429rate_limitedOver the 300 requests/min per-key limit. Honor Retry-After.No
500internal_errorSomething broke on the server side.No
504upstream_timeoutThe live scrape didn't complete in time.No

See the Errors guide for every error type this version can return.