{
  "x402Version": 2,
  "id": 35498,
  "slug": "35498",
  "resource": "https://api.qocgpiywhm.com/api/v1/tools/extract_links",
  "description": "Use to list links on a page as structured rows: url, title, desc, rel, nofollow, internal/external, and kind. Not cleaned article body. An empty page returns item error no_links. After filter and dedupe, all unique links are returned; truncated_links is always false.",
  "type": "http",
  "serviceName": "Link Extractor",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0x3d9ffc73b637C46d7C7EE23b23635d0F6178A053",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "schema": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://www.python.org/"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "correlation_id": "00000000-0000-4000-8000-000000000001",
            "data": {
              "results": [
                {
                  "data": {
                    "base_url": "https://www.python.org/",
                    "count": 3,
                    "count_external": 2,
                    "count_internal": 1,
                    "links": [
                      {
                        "desc": null,
                        "is_internal": true,
                        "is_nofollow": false,
                        "kind": "html",
                        "rel": [],
                        "title": "Python",
                        "url": "https://www.python.org/"
                      },
                      {
                        "desc": null,
                        "is_internal": false,
                        "is_nofollow": false,
                        "kind": "html",
                        "rel": [],
                        "title": "Docs",
                        "url": "https://docs.python.org"
                      },
                      {
                        "desc": null,
                        "is_internal": false,
                        "is_nofollow": false,
                        "kind": "html",
                        "rel": [],
                        "title": "PyPI",
                        "url": "https://pypi.org/"
                      }
                    ],
                    "truncated_links": false
                  },
                  "detail": null,
                  "error": null,
                  "meta": {
                    "content_type": "text/html; charset=utf-8",
                    "final_url": "https://www.python.org/",
                    "retries": 0,
                    "status_code": 200,
                    "url": "https://www.python.org/",
                    "via_proxy": false
                  }
                }
              ]
            }
          },
          "schema": {
            "$defs": {
              "ExtractLinksErrorCode": {
                "description": "Item error codes for extract_links tools.",
                "enum": [
                  "fetch_failed",
                  "timeout",
                  "redirect_loop",
                  "non_html",
                  "too_large",
                  "worker_chunk_failed",
                  "destination_denied",
                  "no_links"
                ],
                "title": "ExtractLinksErrorCode",
                "type": "string"
              },
              "ExtractLinksItemData": {
                "additionalProperties": false,
                "properties": {
                  "base_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Base Url"
                  },
                  "count": {
                    "title": "Count",
                    "type": "integer"
                  },
                  "count_external": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Count External"
                  },
                  "count_internal": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Count Internal"
                  },
                  "links": {
                    "items": {
                      "$ref": "#/$defs/ExtractedLink"
                    },
                    "title": "Links",
                    "type": "array"
                  },
                  "truncated_links": {
                    "default": false,
                    "title": "Truncated Links",
                    "type": "boolean"
                  }
                },
                "required": [
                  "links",
                  "count"
                ],
                "title": "ExtractLinksItemData",
                "type": "object"
              },
              "ExtractLinksItemMeta": {
                "additionalProperties": false,
                "properties": {
                  "content_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Content Type"
                  },
                  "extraction_method": {
                    "default": "stdlib_html",
                    "title": "Extraction Method",
                    "type": "string"
                  },
                  "final_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Final Url"
                  },
                  "retries": {
                    "anyOf": [
                      {
                        "maximum": 5,
                        "minimum": 0,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Extra attempts on the winning fetch hop. 0 = first try of that hop.",
                    "title": "Retries"
                  },
                  "status_code": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Status Code"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Url"
                  },
                  "via_proxy": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "True if the winning fetch used hop-2 residential proxy.",
                    "title": "Via Proxy"
                  }
                },
                "title": "ExtractLinksItemMeta",
                "type": "object"
              },
              "ExtractLinksItemResult": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ExtractLinksItemData"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Link inventory, or null on failure."
                  },
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Failure detail, or null on success.",
                    "title": "Detail"
                  },
                  "error": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ExtractLinksErrorCode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Extract error code, or null on success."
                  },
                  "meta": {
                    "$ref": "#/$defs/ExtractLinksItemMeta",
                    "description": "Fetch metadata."
                  }
                },
                "required": [
                  "meta"
                ],
                "title": "ExtractLinksItemResult",
                "type": "object"
              },
              "ExtractedLink": {
                "additionalProperties": false,
                "description": "One extracted link.",
                "properties": {
                  "desc": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "SVG <desc> when present; otherwise null.",
                    "title": "Desc"
                  },
                  "is_internal": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Is Internal"
                  },
                  "is_nofollow": {
                    "default": false,
                    "title": "Is Nofollow",
                    "type": "boolean"
                  },
                  "kind": {
                    "$ref": "#/$defs/LinkKind",
                    "default": "other"
                  },
                  "rel": {
                    "items": {
                      "type": "string"
                    },
                    "title": "Rel",
                    "type": "array"
                  },
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Link name (visible text, else SVG title).",
                    "title": "Title"
                  },
                  "url": {
                    "title": "Url",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "title": "ExtractedLink",
                "type": "object"
              },
              "LinkKind": {
                "description": "Path/extension heuristic for extract_links.",
                "enum": [
                  "html",
                  "asset",
                  "feed",
                  "other"
                ],
                "title": "LinkKind",
                "type": "string"
              }
            },
            "properties": {
              "results": {
                "description": "Per-item link-extract results.",
                "items": {
                  "$ref": "#/$defs/ExtractLinksItemResult"
                },
                "title": "Results",
                "type": "array"
              }
            },
            "required": [
              "results"
            ],
            "title": "ExtractLinksResponse",
            "type": "object"
          },
          "type": "json"
        }
      },
      "schema": {
        "$defs": {
          "ExtractLinksUrlItem": {
            "additionalProperties": false,
            "properties": {
              "timeout": {
                "default": 10,
                "description": "Per-item fetch timeout in seconds.",
                "maximum": 12,
                "minimum": 1,
                "title": "Timeout",
                "type": "integer"
              },
              "url": {
                "description": "Page URL to fetch (https).",
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "title": "Url",
                "type": "string"
              },
              "user_agent": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Override User-Agent for this request. Omit to use the platform default.",
                "title": "User Agent"
              }
            },
            "required": [
              "url"
            ],
            "title": "ExtractLinksUrlItem",
            "type": "object"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "items": {
                    "anyOf": [
                      {
                        "items": {
                          "$ref": "#/$defs/ExtractLinksUrlItem"
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Batch of items. Do not also send a single-item field.",
                    "title": "Items"
                  },
                  "timeout": {
                    "default": 10,
                    "description": "Per-item fetch timeout in seconds.",
                    "maximum": 12,
                    "minimum": 1,
                    "title": "Timeout",
                    "type": "integer"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "format": "uri",
                        "maxLength": 2083,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Page URL to fetch (https).",
                    "title": "Url"
                  },
                  "user_agent": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Override User-Agent for this request. Omit to use the platform default.",
                    "title": "User Agent"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "schema": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "links",
    "web",
    "crawl",
    "agent-tools",
    "batch",
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "api.qocgpiywhm.com",
  "lastUpdated": "2026-10-11T17:51:45.304Z",
  "quality": {
    "calls30d": 18,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T17:51:45.151Z"
  },
  "metadata": {
    "serviceName": "Link Extractor",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "url": "https://www.python.org/"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "correlation_id": "00000000-0000-4000-8000-000000000001",
              "data": {
                "results": [
                  {
                    "data": {
                      "base_url": "https://www.python.org/",
                      "count": 3,
                      "count_external": 2,
                      "count_internal": 1,
                      "links": [
                        {
                          "desc": null,
                          "is_internal": true,
                          "is_nofollow": false,
                          "kind": "html",
                          "rel": [],
                          "title": "Python",
                          "url": "https://www.python.org/"
                        },
                        {
                          "desc": null,
                          "is_internal": false,
                          "is_nofollow": false,
                          "kind": "html",
                          "rel": [],
                          "title": "Docs",
                          "url": "https://docs.python.org"
                        },
                        {
                          "desc": null,
                          "is_internal": false,
                          "is_nofollow": false,
                          "kind": "html",
                          "rel": [],
                          "title": "PyPI",
                          "url": "https://pypi.org/"
                        }
                      ],
                      "truncated_links": false
                    },
                    "detail": null,
                    "error": null,
                    "meta": {
                      "content_type": "text/html; charset=utf-8",
                      "final_url": "https://www.python.org/",
                      "retries": 0,
                      "status_code": 200,
                      "url": "https://www.python.org/",
                      "via_proxy": false
                    }
                  }
                ]
              }
            },
            "schema": {
              "$defs": {
                "ExtractLinksErrorCode": {
                  "description": "Item error codes for extract_links tools.",
                  "enum": [
                    "fetch_failed",
                    "timeout",
                    "redirect_loop",
                    "non_html",
                    "too_large",
                    "worker_chunk_failed",
                    "destination_denied",
                    "no_links"
                  ],
                  "title": "ExtractLinksErrorCode",
                  "type": "string"
                },
                "ExtractLinksItemData": {
                  "additionalProperties": false,
                  "properties": {
                    "base_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Base Url"
                    },
                    "count": {
                      "title": "Count",
                      "type": "integer"
                    },
                    "count_external": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Count External"
                    },
                    "count_internal": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Count Internal"
                    },
                    "links": {
                      "items": {
                        "$ref": "#/$defs/ExtractedLink"
                      },
                      "title": "Links",
                      "type": "array"
                    },
                    "truncated_links": {
                      "default": false,
                      "title": "Truncated Links",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "links",
                    "count"
                  ],
                  "title": "ExtractLinksItemData",
                  "type": "object"
                },
                "ExtractLinksItemMeta": {
                  "additionalProperties": false,
                  "properties": {
                    "content_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Content Type"
                    },
                    "extraction_method": {
                      "default": "stdlib_html",
                      "title": "Extraction Method",
                      "type": "string"
                    },
                    "final_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Final Url"
                    },
                    "retries": {
                      "anyOf": [
                        {
                          "maximum": 5,
                          "minimum": 0,
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Extra attempts on the winning fetch hop. 0 = first try of that hop.",
                      "title": "Retries"
                    },
                    "status_code": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Status Code"
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Url"
                    },
                    "via_proxy": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "True if the winning fetch used hop-2 residential proxy.",
                      "title": "Via Proxy"
                    }
                  },
                  "title": "ExtractLinksItemMeta",
                  "type": "object"
                },
                "ExtractLinksItemResult": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/ExtractLinksItemData"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Link inventory, or null on failure."
                    },
                    "detail": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Failure detail, or null on success.",
                      "title": "Detail"
                    },
                    "error": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/ExtractLinksErrorCode"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Extract error code, or null on success."
                    },
                    "meta": {
                      "$ref": "#/$defs/ExtractLinksItemMeta",
                      "description": "Fetch metadata."
                    }
                  },
                  "required": [
                    "meta"
                  ],
                  "title": "ExtractLinksItemResult",
                  "type": "object"
                },
                "ExtractedLink": {
                  "additionalProperties": false,
                  "description": "One extracted link.",
                  "properties": {
                    "desc": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "SVG <desc> when present; otherwise null.",
                      "title": "Desc"
                    },
                    "is_internal": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Is Internal"
                    },
                    "is_nofollow": {
                      "default": false,
                      "title": "Is Nofollow",
                      "type": "boolean"
                    },
                    "kind": {
                      "$ref": "#/$defs/LinkKind",
                      "default": "other"
                    },
                    "rel": {
                      "items": {
                        "type": "string"
                      },
                      "title": "Rel",
                      "type": "array"
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Link name (visible text, else SVG title).",
                      "title": "Title"
                    },
                    "url": {
                      "title": "Url",
                      "type": "string"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "title": "ExtractedLink",
                  "type": "object"
                },
                "LinkKind": {
                  "description": "Path/extension heuristic for extract_links.",
                  "enum": [
                    "html",
                    "asset",
                    "feed",
                    "other"
                  ],
                  "title": "LinkKind",
                  "type": "string"
                }
              },
              "properties": {
                "results": {
                  "description": "Per-item link-extract results.",
                  "items": {
                    "$ref": "#/$defs/ExtractLinksItemResult"
                  },
                  "title": "Results",
                  "type": "array"
                }
              },
              "required": [
                "results"
              ],
              "title": "ExtractLinksResponse",
              "type": "object"
            },
            "type": "json"
          }
        },
        "schema": {
          "$defs": {
            "ExtractLinksUrlItem": {
              "additionalProperties": false,
              "properties": {
                "timeout": {
                  "default": 10,
                  "description": "Per-item fetch timeout in seconds.",
                  "maximum": 12,
                  "minimum": 1,
                  "title": "Timeout",
                  "type": "integer"
                },
                "url": {
                  "description": "Page URL to fetch (https).",
                  "format": "uri",
                  "maxLength": 2083,
                  "minLength": 1,
                  "title": "Url",
                  "type": "string"
                },
                "user_agent": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Override User-Agent for this request. Omit to use the platform default.",
                  "title": "User Agent"
                }
              },
              "required": [
                "url"
              ],
              "title": "ExtractLinksUrlItem",
              "type": "object"
            }
          },
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "items": {
                      "anyOf": [
                        {
                          "items": {
                            "$ref": "#/$defs/ExtractLinksUrlItem"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Batch of items. Do not also send a single-item field.",
                      "title": "Items"
                    },
                    "timeout": {
                      "default": 10,
                      "description": "Per-item fetch timeout in seconds.",
                      "maximum": 12,
                      "minimum": 1,
                      "title": "Timeout",
                      "type": "integer"
                    },
                    "url": {
                      "anyOf": [
                        {
                          "format": "uri",
                          "maxLength": 2083,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Page URL to fetch (https).",
                      "title": "Url"
                    },
                    "user_agent": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Override User-Agent for this request. Omit to use the platform default.",
                      "title": "User Agent"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "schema": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.qocgpiywhm.com",
    "manifest_name": "api.qocgpiywhm.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "schema": {},
    "type": "string"
  }
}