# s2ar Poetry Form Scorer

> s2ar Poetry Form Scorer is a paid API for AI agents from api.s2ar.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Grades a text passage against a named poetic form, returning deterministic meter, rhyme, and line diagnostics

## Facts

- Endpoint: GET https://api.s2ar.dev/x402/v1/score?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/s2ar-poetry-form-scorer-dc478eb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6wjzT9lpSYgC8HhO7kNiy

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 s2ar-poetry-form-scorer-dc478eb6
```

Example prompt: Score this poem against the sonnet form and tell me where the meter or rhyme goes wrong: 'Shall I compare thee to a summer's day? / Thou art more lovely and more temperate...'

## When to prefer this

Choose this endpoint when you need deterministic, rule-based evaluation of poetic structure rather than subjective AI feedback. It is ideal for grading assignments, linting poetry generators, enforcing form constraints in creative writing tools, or building feedback loops that require reproducible pass/fail results on meter, rhyme, and line structure.

## Known failure modes

- Missing 'text' parameter returns a 400-level error
- Unknown or unsupported form name returns an error or empty result — caller should first fetch /v1/score/forms to list valid form names
- Very long texts may exceed processing limits
- Non-English text may produce inaccurate meter analysis if the form is language-specific

## How this service works

Grade a text against a form — meter, rhyme, line and content gates, the dictionary named; a signed record. GET ?text=&form=

## Output

Returns a structured diagnostic report indicating whether the submitted text conforms to the specified poetic form, including pass/fail results and line-by-line details on meter (stress patterns, syllable counts), rhyme scheme adherence, and line count correctness.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "form": {
       "type": "string",
       "description": "a form name; GET /v1/score/forms lists them"
      },
      "text": {
       "type": "string"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "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/s2ar-poetry-form-scorer-dc478eb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.s2ar.dev](https://www.zero.xyz/host/api.s2ar.dev/llms.txt)
