81trust / 100
Web Links
by API Acre in Search & web
x402 APIPassing, checked 5 h ago
Extract and classify links from one public page or safely crawl up to 10 same-origin pages into an agent-ready site map with page provenance, depth limits, and robots.txt enforcement.
POST https://apiacre.com/v1/web/links
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 142 ms typical, 142 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://apiacre.com/v1/web/links" \
-H "content-type: application/json" \
-d '{"include_external":true,"max_depth":2,"max_pages":3,"respect_robots":true,"url":"https://example.com"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapiacre.com%2Fv1%2Fweb%2Flinks
const res = await pay("https://apiacre.com/v1/web/links", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"include_external":true,"max_depth":2,"max_pages":3,"respect_robots":true,"url":"https://example.com"}),
});
console.log(await res.json());Example input
{
"include_external": true,
"max_depth": 2,
"max_pages": 3,
"respect_robots": true,
"url": "https://example.com"
}Example output
{
"data": {
"count": 1,
"crawl": {
"enabled": true,
"maxDepth": 2,
"maxPages": 3,
"pagesAttempted": 1,
"pagesFetched": 1
},
"errors": [],
"external": 1,
"internal": 0,
"links": [
{
"external": true,
"text": "Learn more",
"url": "https://iana.org/domains/example"
}
],
"origin": "https://example.com",
"pages": [
{
"depth": 0,
"discoveredFrom": null,
"statusCode": 200,
"title": "Example Domain",
"url": "https://example.com/"
}
],
"skipped": [],
"url": "https://example.com/"
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"path": "/v1/web/robots-sitemap",
"reason": "Compare crawl-discovered pages with robots.txt rules and declared XML sitemap...",
"service": "web.robots-sitemap",
"title": "Robots and sitemap audit"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "web.links",
"version": "1"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 142 ms | $0.005 |