fastx402.tools
Computes shortest path between two nodes using Dijkstra's algorithm, performs topological sorting on DAGs, and detects cycles in directed graphs. Input is a JSON graph with nodes and weighted edges.
Offering
- Provider
- fastx402.tools
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://fastx402.tools/graph-shortest-path- MIME type
- application/json
- First seen
- 2026-10-23T22:48:47.298Z
- Last seen
- Tags
- Data
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"payTo": "0xFe6Ae9ec9DE12817f23958F11b6CE69194b6Bd7E"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"payTo": "5zYuctvYNqYyqQYURqJQjQ1HrM5AXaXx4SeRx3Jr2oeA"
}
]Observed health
- Status
- Healthy
- Latest latency
- 554 ms
- Average latency
- 527 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 15 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET"
]
},
"queryParams": {
"type": "object",
"properties": {
"graph": {
"type": "string",
"description": "JSON string with 'nodes' array and 'edges' array (each edge has 'from', 'to', and optional 'weight' defaulting to 1)"
},
"operation": {
"type": "string",
"description": "One of: 'shortest_path' (Dijkstra), 'topological_sort' (for DAG), 'detect_cycle'"
},
"start": {
"type": "string",
"description": "Starting node (required for shortest_path)"
},
"end": {
"type": "string",
"description": "Ending node (required for shortest_path)"
}
},
"required": [
"graph",
"operation"
]
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"operation": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"distance": {
"type": "integer"
},
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
}
},
"required": [
"type"
]
}