# AdScript by godlaws.com

> AdScript by godlaws.com is a paid API for AI agents from godlaws.com, paid per call via x402, $4.5/call, status unknown (last checked 2026-09-14).

Generates a complete, ready-to-shoot advertising script from a product or landing page URL, returning audience targeting, hooks, spoken script, ad copy variants, and a video prompt as JSON.

## Facts

- Endpoint: GET https://godlaws.com/script/api/x402/script
- Price: $4.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adscript-by-godlaws-com-09863d02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nbd2R5GPHOtSa6-VM_4yJ

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 adscript-by-godlaws-com-09863d02
```

Example prompt: Can you generate a full advertising script for my product page at https://example.com/my-product — I need the audience profile, hooks, spoken script, ad copy variants, and a video prompt, all ready to shoot?

## When to prefer this

Choose this endpoint when you need a complete, multi-component advertising script package (audience, hooks, spoken script, ad copy, video prompt) generated automatically from a live product or landing page URL in a single API call. It is especially suited for marketers, agencies, or agents that need to rapidly produce video-ready ad creative without manual copywriting. Prefer this over generic LLM prompting when you want structured JSON output purpose-built for ad production workflows.

## Known failure modes

- Invalid or unreachable URL returns an error with no script generated
- URL points to a page with insufficient content to generate meaningful ad copy
- Payment failure or insufficient USDC balance blocks the request
- Rate limiting or server-side timeout for slow-loading target pages
- Non-product or non-landing pages (e.g. login walls) may yield low-quality or empty output

## How this service works

Ad script generator: pass ?url=<product or landing page> and receive a ready-to-shoot advertising script as JSON — audience, hooks, spoken script, ad copy variants and a video prompt, generated from the live page content. One-time use license.

## Output

A JSON object containing: a target audience profile, attention-grabbing hooks, a full spoken script, multiple ad copy variants for different placements, and a video production prompt — all derived from the live content of the provided URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Product or landing page URL to generate the ad script for"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adscript-by-godlaws-com-09863d02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from godlaws.com](https://www.zero.xyz/host/godlaws.com/llms.txt)
