80trust / 100
Travel Entry
by travel-entry in Weather & location
x402 APIPassing, checked 1 h ago
International entry requirements for a passport and destination pair. Fuses the community visa requirement, a passport-validity rule, the US State Dept travel advisory level and summary, and current CDC travel-health notices into one cited JSON with derived documents and notes. Informational, not immigration advice.
GET https://api.agentstools.dev/travel/entry
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 27 ms typical, 85 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/travel/entry?destination=Thailand&passport_country=US"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%2Fapi.agentstools.dev%2Ftravel%2Fentry
const res = await pay("https://api.agentstools.dev/travel/entry?destination=Thailand&passport_country=US");
console.log(await res.json());Example input
{
"destination": "Thailand",
"passport_country": "US"
}Example output
{
"advisory": {
"level": 1,
"level_label": "Exercise Normal Precautions",
"source": "state_advisory",
"updated": "2024-01-08"
},
"destination": {
"iso2": "TH",
"iso3": "THA",
"name": "Thailand"
},
"health_notices": [
{
"level": 1,
"scope": "global",
"source": "cdc_health",
"title": "Global Dengue"
}
],
"passport_country": {
"iso2": "US",
"iso3": "USA",
"name": "United States"
},
"passport_validity_rule": {
"indicative": true,
"rule": "Passport valid 6 months beyond entry."
},
"required_docs": [
"Valid passport"
],
"sources": {
"partial": false
},
"visa": {
"allowed_days": 30,
"requirement": "visa free",
"requirement_label": "Visa free",
"source": "visa_matrix"
}
}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 |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 28 ms | $0.03 |
| 5 h ago | Passed | 402 | 40 ms | $0.03 |
| 8 h ago | Passed | 402 | 27 ms | $0.03 |
| 12 h ago | Passed | 402 | 90 ms | $0.03 |
| 15 h ago | Passed | 402 | 23 ms | $0.03 |
| 20 h ago | Passed | 402 | 85 ms | $0.03 |
| 23 h ago | Passed | 402 | 25 ms | $0.03 |
| 26 h ago | Passed | 402 | 27 ms | $0.03 |
| 32 h ago | Passed | 402 | 25 ms | $0.03 |