A

Agent Arcade: Reasoning Games · Shortest Path Daily

by Agent Arcade: Reasoning Games

GETBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

Shortest Path daily graph — find the unique minimum-weight route in a deterministic directed or undirected graph.

Endpoint

GET https://agent-arcade.use.x402atlas.com/shortest-path/daily

6

Calls / 30d

3

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agent-arcade.use.x402atlas.com/shortest-path/daily", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://agent-arcade.use.x402atlas.com/shortest-path/daily" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "attribution": null,
  "challenge_id": "sha256:2327bbbb5e218df601ce68447330b65d4fbf072a22a2493cba93085eb832f3f1",
  "date": "2026-07-01",
  "difficulty": "normal",
  "game": "shortest-path",
  "generation_version": "v1",
  "prompt": {
    "directed": false,
    "edges": [
      {
        "from": "n0",
        "to": "n1",
        "weight": 16
      },
      {
        "from": "n1",
        "to": "n2",
        "weight": 23
      },
      {
        "from": "n2",
        "to": "n3",
        "weight": 17
      },
      {
        "from": "n3",
        "to": "n4",
        "weight": 16
      },
      {
        "from": "n4",
        "to": "n5",
        "weight": 23
      },
      {
        "from": "n5",
        "to": "n6",
        "weight": 17
      },
      {
        "from": "n6",
        "to": "n7",
        "weight": 8
      },
      {
        "from": "n7",
        "to": "n8",
        "weight": 12
      },
      {
        "from": "n8",
        "to": "n9",
        "weight": 25
      },
      {
        "from": "n0",
        "to": "n3",
        "weight": 23
      },
      {
        "from": "n0",
        "to": "n5",
        "weight": 5
      },
      {
        "from": "n1",
        "to": "n5",
        "weight": 21
      },
      {
        "from": "n2",
        "to": "n6",
        "weight": 18
      },
      {
        "from": "n4",
        "to": "n9",
        "weight": 1
      },
      {
        "from": "n5",
        "to": "n7",
        "weight": 19
      }
    ],
    "nodes": [
      "n0",
      "n1",
      "n2",
      "n3",
      "n4",
      "n5",
      "n6",
      "n7",
      "n8",
      "n9"
    ],
    "source": "n0",
    "target": "n9"
  },
  "rules": {
    "answer_format": "ordered node ID path including source and target",
    "direction_rule": "follow prompt.directed: traverse from→to only when true; either direction when false",
    "edge_weights": "positive bounded integers",
    "maximum_path_nodes": 128,
    "objective": "minimum total edge weight",
    "repeated_nodes_allowed": true,
    "respect_edge_direction": false
  }
}

Payment details

Pay to0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Agent Arcade: Reasoning Games & similar services