Call it
curl https://api.peume.com/v1/call/pinterest-resolve-pin \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image_url": "your image url",
"url": "your url",
"username": "your username"
}
}'const res = await fetch("https://api.peume.com/v1/call/pinterest-resolve-pin", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"image_url": "your image url",
"url": "your url",
"username": "your username"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/pinterest-resolve-pin",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"image_url": "your image url",
"url": "your url",
"username": "your username"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: pinterest-resolve-pin.
Parameters
image_urlRequiredstringRequired: the first entry of that row's `image_urls` (for a video Pin, its `thumbnail_url`).
urlRequiredstringAn `e1_` ID from a list row (the `id` in search, board_pins, section_pins, product_search or similar_pins results), or the /pin/e1_.../ link built from it.
board_urlstringThat row's `board_url`; optional. When given, the Pin is looked for on that board first, which is faster.
usernameRequiredstringRequired: that row's `author_username`.
