Call it
curl https://api.peume.com/v1/call/pinterest-pins-made-from-a-list-of-urls \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"targets": [
"https://www.simplyrecipes.com/recipes/grilled_salmon_with_cucumber_mango_salsa/",
"https://tasty.co/recipe/classic-lasagna",
"https://www.allrecipes.com/recipe/255263/sicilian-roasted-chicken/"
],
"tag": "some_string_123"
}
}'const res = await fetch("https://api.peume.com/v1/call/pinterest-pins-made-from-a-list-of-urls", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"targets": [
"https://www.simplyrecipes.com/recipes/grilled_salmon_with_cucumber_mango_salsa/",
"https://tasty.co/recipe/classic-lasagna",
"https://www.allrecipes.com/recipe/255263/sicilian-roasted-chicken/"
],
"tag": "some_string_123"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/pinterest-pins-made-from-a-list-of-urls",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"targets": [
"https://www.simplyrecipes.com/recipes/grilled_salmon_with_cucumber_mango_salsa/",
"https://tasty.co/recipe/classic-lasagna",
"https://www.allrecipes.com/recipe/255263/sicilian-roasted-chicken/"
],
"tag": "some_string_123"
}
},
)
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-pins-made-from-a-list-of-urls.
Parameters
targetsarraytarget URLs required field target page should be specified with its absolute URL (including http:// or https://) example: Note: you can specify 10 targets maximum. You will be charged per earch URL you specify in this array
Example: ["https://www.simplyrecipes.com/recipes/grilled_salmon_with_cucumber_mango_salsa/","https://tasty.co/recipe/classic-lasagna","https://www.allrecipes.com/recipe/255263/sicilian
tagstringuser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
Example: some_string_123
