Skip to content

docs: add direct API quickstart and improve x402 docs page#2392

Merged
MQ37 merged 4 commits into
masterfrom
docs/x402-api-quickstart
Apr 2, 2026
Merged

docs: add direct API quickstart and improve x402 docs page#2392
MQ37 merged 4 commits into
masterfrom
docs/x402-api-quickstart

Conversation

@MQ37
Copy link
Copy Markdown
Contributor

@MQ37 MQ37 commented Apr 2, 2026

Summary

  • Adds a new "Use x402 with the Apify API directly" section with step-by-step payment flow and curl example using run-sync-get-dataset-items
  • Restructures the page for clarity: shared prerequisites/wallet setup at the top, parallel "How it works" + "Example" subsections for both MCP and direct API paths
  • Moves pricing/refund details into a single shared section to avoid duplication
  • Tightens intro and removes AI-sloppy filler phrases flagged in readability review
  • Adds "Supported Actors" info admonition (Pay Per Event only, no Standby) at page top
  • Adds "Agent autonomy" tip suggesting users provide this page as context to their AI agent
  • Fixes style issues: replaces em dashes with hyphens, removes incorrect bold emphasis

@MQ37 MQ37 requested a review from TC-MO as a code owner April 2, 2026 13:29
@github-actions github-actions Bot added the t-ai Issues owned by the AI team. label Apr 2, 2026
@MQ37 MQ37 requested a review from stepskop April 2, 2026 13:30
@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit b7f5e15 and is ready at https://pr-2392.preview.docs.apify.com!

@TC-MO TC-MO requested review from marcel-rbro and removed request for TC-MO April 2, 2026 13:43
@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit bf23320 and is ready at https://pr-2392.preview.docs.apify.com!

Copy link
Copy Markdown
Contributor

@stepskop stepskop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just uppercase the x402 headers (to match the protovcol spec). I guess we can uppercase even the X-APIFY-... one for consistency.

@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit a4b8024 and is ready at https://pr-2392.preview.docs.apify.com!

Copy link
Copy Markdown
Contributor

@marcel-rbro marcel-rbro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good info added 👍

@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit 96d0701 and is ready at https://pr-2392.preview.docs.apify.com!

@MQ37 MQ37 merged commit 7086720 into master Apr 2, 2026
13 checks passed
@MQ37 MQ37 deleted the docs/x402-api-quickstart branch April 2, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants