Val Town API

Cloud platform with a REST API for creating, running, scheduling, and sharing TypeScript/JavaScript functions (vals) that execute instantly in Deno without any deployment infrastructure.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools serverless typescript deno scheduling webhooks code-sharing cron instant-deploy esm
⚙ Agent Friendliness
60
/ 100
Can an agent use this?
🔒 Security
73
/ 100
Is it safe for agents?
⚡ Reliability
68
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
85
Error Messages
78
Auth Simplicity
82
Rate Limits
72

🔒 Security

TLS Enforcement
100
Auth Strength
70
Scope Granularity
45
Dep. Hygiene
78
Secret Handling
72

TLS enforced on all API and HTTP val endpoints. API tokens have no scope granularity. Val environment secrets are stored encrypted but accessible to all vals in the account — no per-val secret isolation. Public vals can inadvertently expose logic if not explicitly set to private. No compliance certifications published.

⚡ Reliability

Uptime/SLA
55
Version Stability
75
Breaking Changes
72
Error Recovery
70
AF Security Reliability

Best When

An agent needs to rapidly deploy and invoke small TypeScript utilities, cron jobs, or webhook handlers without managing any infrastructure, especially for prototyping or lightweight automation.

Avoid When

Your function needs more than 30 seconds of execution time, requires persistent local state or file system access, or demands enterprise-grade SLA and compliance guarantees.

Use Cases

  • Deploying lightweight TypeScript utility functions on demand from an agent without any CI/CD pipeline or server provisioning
  • Creating scheduled cron jobs programmatically to run recurring agent tasks (scraping, polling, data transforms) at defined intervals
  • Hosting webhook receivers as HTTP vals that other services can call, enabling agent-to-agent or service-to-agent communication
  • Running ad-hoc data transformation scripts in a sandboxed environment during agent workflows without spinning up ephemeral compute
  • Sharing reusable TypeScript modules between agent workflows via Val Town's public import-by-URL ESM system

Not For

  • Long-running or compute-intensive workloads — Val Town functions have strict execution time limits (30 seconds max)
  • Private or air-gapped deployments — all vals run on Val Town's shared cloud infrastructure with no self-hosted option
  • Production services requiring dedicated resource allocation, SLA guarantees, or persistent file system access

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
Yes

Authentication

Methods: api_key
OAuth: No Scopes: No

Personal API tokens generated from account settings. Tokens are passed as Bearer headers. No scope granularity — a token grants full access to the account's vals and data. Token rotation is manual via the dashboard.

Pricing

Model: freemium
Free tier: Yes
Requires CC: No

Free tier is generous for development and light automation. Pro plan is needed for sub-5-minute cron intervals and higher run volumes. No enterprise tier currently available.

Agent Metadata

Pagination
cursor
Idempotent
No
Retry Guidance
Not documented

Known Gotchas

  • Val execution is limited to 30 seconds — any agent task delegated to a val must complete within this window or will be forcibly terminated without a partial result
  • Public vals are visible to anyone by default — agents creating vals must explicitly set visibility to private to avoid leaking logic or data
  • Val versions are immutable once created; updating a val creates a new version, which changes the stable endpoint URL unless using the latest-version alias
  • The Deno runtime sandbox restricts certain Node.js APIs and native modules — code written for Node.js may require adaptation before running as a val
  • Cold start latency can be significant for infrequently called HTTP vals — first invocation after idle may exceed 1 second

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Val Town API.

$99

Scores are editorial opinions as of 2026-03-06.

5215
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered