{"uid":"cap_zB4pg5qZ0kV_LWyBOVTS1","slug":"scrapfly-content-compose-api-9b6fcf91","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://scravfly.vercel.app/api/content/compose","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.6","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.6/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.6","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.6","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v7wYTMnwWvXeQ6HXa9nwU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.6","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates written content from a prompt with customizable tone, style, length, and target audience","exampleAgentPrompt":"Can you write a 500-word blog post about the benefits of remote work, in a conversational tone, using simple language aimed at small business owners?","exampleUseCases":[{"title":"Marketing copy for product launch","prompt":"Write a short, persuasive marketing blurb about our new project management app called 'TaskFlow' — keep the tone enthusiastic and confident, and aim it at startup founders who are overwhelmed with team coordination."},{"title":"Technical article for developer blog","prompt":"Compose a medium-length technical article explaining how webhooks work, written in a clear and educational style for junior software developers — keep the tone professional but approachable."},{"title":"Casual social media caption","prompt":"Write a short, witty caption for a fitness brand's Instagram post about morning workout routines — casual and energetic tone, targeting health-conscious millennials."}],"resultDescription":"Returns a success boolean and a data object containing the generated text content composed according to the provided prompt, tone, style, length, and audience parameters.","failureModes":["Missing required 'prompt' field returns a validation error","Overly vague or empty prompt may yield low-quality or generic output","Payment failure on Base chain results in a 402 response and no content generated","Very long prompts may be truncated or result in timeouts","Unsupported tone or style values may be ignored or cause unexpected output"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate written content from a natural language prompt with fine-grained control over tone, style, length, and audience — especially when integrating content generation into an automated workflow that pays per request via x402 on Base chain. Best for agents that need on-demand copywriting without managing an LLM API key directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:18.489Z","isFirstParty":false}