agents.writerslogic.com/api/v1/syllable-count
Counts syllables per word and per line for English text, using your dictionary entries first and otherwise a rule-based estimator (vowel groups, silent e, -ed/-es, consonant+le). Optionally checks each line against a target pattern such as 5-7-5. Where the rules cannot decide (vowel pairs like ia/io/eo, acronyms, numerals, non-Latin scripts) the word is a range or abstains, and a line whose count
POST
https://agents.writerslogic.com/api/v1/syllable-countUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/syllable-count", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"lines":["An old silent pond","A frog jumps into the pond","Splash! Silence again"],"pattern":[5,7,5]}),
});
console.log(await res.json());Example input
{
"lines": [
"An old silent pond",
"A frog jumps into the pond",
"Splash! Silence again"
],
"pattern": [
5,
7,
5
]
}