{"uid":"cap_rS7gMFy5hyuPY1CueAgXi","slug":"codeshot-annotate-code-annotation-screenshot-api-e1e7cb11","name":"CodeShot Annotate — Code Annotation Screenshot API","description":"Beautiful code screenshots and web tools via API. Pay-per-use for AI agents via x402 and MPP.","url":"https://drmadmeow.up.railway.app/v1/agent/annotate","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aDhQwCaEUGJVvWpw8ma_4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a beautifully styled, annotated screenshot image of code via a POST API call, pay-per-use for AI agents.","exampleAgentPrompt":"Can you create a beautiful annotated screenshot of this Python function for me — with syntax highlighting and a dark theme — so I can share it on Twitter? Here's the code: `def greet(name): return f'Hello, {name}!'`","exampleUseCases":[{"title":"Tutorial blog post code visuals","prompt":"I'm writing a tutorial on async/await patterns. Can you generate beautiful annotated screenshots of these code snippets with callouts explaining each step? I want them styled professionally with a clean layout so readers can easily understand the flow."},{"title":"Developer documentation with examples","prompt":"We're updating our API docs and need polished code screenshots for each endpoint example. Can you create styled images of these JavaScript snippets with the key parameters highlighted and a light theme that matches our brand colors?"},{"title":"Social media developer content","prompt":"I want to share some clever debugging tips on LinkedIn with code examples. Can you make beautiful, eye-catching screenshots of these snippets with annotations pointing out the best practices, using a modern dark theme that stands out in feeds?"}],"resultDescription":"Returns an image object (likely base64-encoded or a URL) representing a styled, annotated screenshot of the submitted code snippet, suitable for sharing or embedding in documentation.","failureModes":["Invalid or missing code input returns an error object","Unsupported language or annotation format returns a descriptive error","Payment failure via x402/MPP results in a 402 Payment Required response","Malformed request body results in a 400 Bad Request","Service unavailability on Railway hosting returns a 503 or timeout"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to produce a visually polished, annotated screenshot of a code snippet — for sharing on social media, in documentation, or in tutorials — rather than just syntax-highlighted plain text or a raw image capture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:20.147Z","isFirstParty":false}