# AgentForms Embed Script (embed.js)

> AgentForms Embed Script (embed.js) is a paid API for AI agents from agentforms.evmoore.workers.dev, paid per call via MPP, price unknown, status unknown (last checked 2026-09-15).

Serves the JavaScript embed snippet that renders a hosted AgentForms form inline on any webpage

## Facts

- Endpoint: GET https://agentforms.evmoore.workers.dev/embed.js
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Provider: agentforms.evmoore.workers.dev
- Website: https://agentforms.evmoore.workers.dev
- Canonical page: https://www.zero.xyz/c/agentforms-evmoore-workers-dev-agentforms-embed-script-embed-js-a532cd17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rrQhRMCZzWMoDPf1GyH7C

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentforms-evmoore-workers-dev-agentforms-embed-script-embed-js-a532cd17
```

Example prompt: Can you grab the embed.js script from AgentForms so I can drop the hosted form widget inline on my webpage?

## When to prefer this

Use this endpoint when you need the client-side JavaScript to embed a hosted AgentForms form inline on a webpage, rather than linking directly to the hosted form URL (/f/{id}). Prefer this over the direct form URL when you want the form to appear seamlessly within an existing page layout without a redirect.

## Known failure modes

- Form ID not found or expired — script may return an error or empty widget
- CDN or Cloudflare Worker outage — HTTP 5xx response
- Invalid query parameters — script may not initialize correctly
- Form has been closed or purged — widget renders with a closed/expired message

## Output

Returns a JavaScript file (embed snippet) that, when included in an HTML page, renders the hosted AgentForms form as an inline widget. The script handles form display, submission UX, and communication with the AgentForms backend.

## Example request

```json
{}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentforms-evmoore-workers-dev-agentforms-embed-script-embed-js-a532cd17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentforms.evmoore.workers.dev](https://www.zero.xyz/host/agentforms.evmoore.workers.dev/llms.txt)
