Call it
curl https://api.peume.com/v1/call/duplicate-page-content \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"id": "07281559-0695-0216-0000-c269be8b7592",
"url": "https://www.etsy.com/"
}
}'const res = await fetch("https://api.peume.com/v1/call/duplicate-page-content", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"id": "07281559-0695-0216-0000-c269be8b7592",
"url": "https://www.etsy.com/"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/duplicate-page-content",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"id": "07281559-0695-0216-0000-c269be8b7592",
"url": "https://www.etsy.com/"
}
},
)
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: duplicate-page-content.
Parameters
idstringID of the task required field you can get this ID in the response of the Task POST endpoint example: “07131248-1535-0216-1000-17384017ad04”
Example: 07281559-0695-0216-0000-c269be8b7592
urlstringpage URL required field specify the initial page you want to receive duplicate content for
Example: https://www.etsy.com/
similarityintegercontent similarity score by default, the content is considered duplicate if the value is greater than or equals 6 you can specify any similarity score in the 0-to-10 range
limitintegerthe maximum number of returned pages optional field default value: 100 maximum value: 1000
offsetintegeroffset in the results array of returned pages optional field default value: 0 maximum value: 2000000 if you specify the 10 value, the first ten pages in the results array will be omitted and the data will be provided for the successive pages
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
