{"uid":"cap_drYEOUAajsVrKGo9VYJO6","slug":"basepost-vercel-app-eabdd0ab","name":"BasePost Article Upload","description":"Upload an article to BasePost - A decentralized news platform where authors can publish and monetize content using x402 payments","url":"https://basepost.vercel.app/api/upload","method":"POST","headers":{},"bodySchema":{"type":"object","required":["authorAddress","body","priceUsd","teaser","title"],"properties":{"body":{"type":"string","description":"The full article content in markdown format"},"image":{"type":"file","description":"Optional cover image for the article"},"title":{"type":"string","description":"The title of the article"},"teaser":{"type":"string","description":"A short teaser/preview of the article (shown before purchase)"},"imageUrl":{"type":"string","description":"Optional URL to an existing cover image (used if image file not provided)"},"priceUsd":{"type":"string","description":"The price to access this article (format: $0.10)"},"authorAddress":{"type":"string","description":"The Ethereum/Base address of the article author (receives payments)"}}},"responseSchema":{"type":"object","required":["success","slug","message"],"properties":{"slug":{"type":"string","description":"The generated URL slug for the article (derived from title)"},"message":{"type":"string","description":"Success message confirming upload"},"success":{"type":"boolean","description":"Whether the upload was successful"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oLm0ibGouVd0iK-CZNpao","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Uploads and publishes a paywalled article to the BasePost decentralized news platform, assigning author payment address and access price","exampleAgentPrompt":"Publish my article titled 'Why Base Is the Future of Onchain Finance' on BasePost — the full markdown content is [article body], the teaser is 'A deep dive into Base's ecosystem growth', set the price to $0.25, and use my author address 0xAbC123...456 to receive payments.","exampleUseCases":[{"title":"Publish investigative piece with paywall","prompt":"I just finished writing an investigative article called 'The Hidden Costs of Centralized Social Media' — here's the full markdown content: [article body]. Publish it on BasePost with a teaser that says 'An exposé on how big platforms profit from your data', set the reader price to $0.50, and route all payments to my wallet at 0xDef789...012."},{"title":"Monetize crypto newsletter on Web3","prompt":"Can you upload my weekly crypto newsletter titled 'Onchain Trends: Week 42' to BasePost? The full content is [article body], use this teaser: 'Your weekly roundup of the most important moves in DeFi and NFTs', price it at $0.10 per read, and send earnings to my Base address 0x1aB2cD...345."},{"title":"Share travel story earning USDC","prompt":"I wrote a travel story called 'Three Weeks Across Southeast Asia on a Budget' and I want to publish it on BasePost so readers pay me directly in crypto. Here's the markdown: [article body], teaser is 'One traveler's guide to doing Asia for under $1,500', charge $0.15 for access, and use my author address 0x9FgH12...678 for receiving USDC payments."}],"resultDescription":"Returns a JSON object with a success boolean, a URL slug derived from the article title (used to access the article at basepost.vercel.app), and a confirmation message string.","failureModes":["Missing required fields (authorAddress, body, priceUsd, teaser, or title) returns validation error","Invalid Ethereum/Base address format causes rejection","Malformed price format (not '$0.10' style) causes error","x402 payment of $0.10 USDC not fulfilled results in 402 Payment Required","Server-side upload failure returns success: false with error message","Duplicate title may generate conflicting slugs"],"whenToPreferThis":"Use this endpoint when an agent needs to publish user-authored content to a decentralized, censorship-resistant news platform where the author retains monetization control via crypto micropayments on Base. Prefer over traditional CMS APIs when the user wants Web3-native publishing with USDC paywalls and no intermediary platform fees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:32:09.647Z","isFirstParty":false}