{"uid":"cap_c9qDs8v1mSWNruZNvjDSe","slug":"scrapfly-content-compose-api-af33d38c","name":"ScrapFly Content Compose API","description":"69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.","url":"https://scrapfly.vercel.app/api/content/compose?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"tone":{"type":"string","description":"tone"},"style":{"type":"string","description":"style"},"length":{"type":"string","description":"length"},"prompt":{"type":"string","description":"prompt"},"audience":{"type":"string","description":"audience"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uT-9-W6To679YtPnj76CE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates composed written content based on a prompt with configurable tone, style, length, and audience","exampleAgentPrompt":"Can you compose a 500-word blog post about the benefits of remote work, written in an informative tone, using a conversational style, aimed at small business owners?","exampleUseCases":[{"title":"Marketing copy for product launch","prompt":"Write a punchy, persuasive product description for my new ergonomic laptop stand, in an enthusiastic tone, keeping it short (under 100 words), aimed at tech-savvy professionals."},{"title":"Thought leadership article for LinkedIn","prompt":"Compose a medium-length thought leadership article about the future of AI in healthcare, in a formal and authoritative tone, using an analytical style, targeted at healthcare executives."},{"title":"Email newsletter draft for subscribers","prompt":"Draft a friendly newsletter-style piece about seasonal gardening tips for spring, in a warm and encouraging tone, medium length, aimed at home gardening enthusiasts."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing the generated/composed content text based on the provided prompt and style parameters.","failureModes":["Missing required prompt field returns validation error","Overly vague prompt may produce generic or low-quality output","Very long prompts may exceed processing limits","Invalid or unsupported tone/style values may be ignored or cause errors","Timeout if generation takes too long for complex prompts"],"whenToPreferThis":"Choose this endpoint when you need AI-generated written content with explicit control over tone, style, length, and audience — especially when integrating into an automated content pipeline that pays per-request via x402 on Base chain. Prefer over generic LLM APIs when you need a simple REST interface with USDC micropayment billing and no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:40:36.438Z","isFirstParty":false,"canonicalSlug":"scrapfly-content-compose-api-af33d38c"}