PeumeAPI

Search & SEO

Crawl links

This endpoint will provide you with a list of internal and external links detected on a target website.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/crawl-links \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "id": "07281559-0695-0216-0000-c269be8b7592",
    "page_from": "/apis/google-trends-api",
    "limit": 10,
    "filters": [
      [
        "dofollow",
        "=",
        true
      ],
      "and",
      [
        "direction",
        "=",
        "external"
      ]
    ]
  }
}'

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: crawl-links.

Parameters

idstring

ID 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

page_fromstring

relative page URL optional field if you use this field, the API response will contain only links from the specified page note that in this field you can specify relative URLs only

Example: /apis/google-trends-api

page_tostring

relative page URL optional field if you use this field, the API response will contain only internal links pointing to the specified page note that in this field you can specify relative URLs only

limitinteger

the maximum number of returned links optional field default value: 100 maximum value: 1000

Example: 10

offsetinteger

offset in the results array of returned links optional field default value: 0 maximum value: 2000000 if you specify the 10 value, the first ten links in the results array will be omitted and the data will be provided for the successive links

filtersarray

array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, =, <>, in, not_in, like, not_like you can use the % operator with lik

Example: [["dofollow","=",true],"and",["direction","=","external"]]

search_after_tokenstring

token for subsequent requests optional field provided in the identical filed of the response to each request; use this parameter to avoid timeouts while trying to obtain over 20,000 results in a single request; by specifying the unique search_after_token value from the response array, you will get t

tagstring

user-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

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.