Skip to content

docs(api): note that platinum and diamond tier prices are returned only to callers with access - #3347

Open
VojtaKai wants to merge 1 commit into
masterfrom
docs/tiered-pricing-restricted-tiers
Open

VojtaKai wants to merge 1 commit into
masterfrom
docs/tiered-pricing-restricted-tiers

Conversation

@VojtaKai

@VojtaKai VojtaKai commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

What

Updates the TieredPricingPerEvent and TieredPricingPerDatasetItem descriptions. FREE to GOLD are always returned. PLATINUM and DIAMOND are returned only to callers who have access to them.

Why

The API now hides PLATINUM and DIAMOND prices from callers who don't have access to them (apify/apify-core#33865). The schemas are open maps, so the contract doesn't change, but the old descriptions suggested every tier is always present.

Related: apify/apify-core#33865
Closes apify/apify-core#33827


Generated by Claude Code

…ly to callers with access

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016tRBcSCpJ2smefaGa8CYG9
@VojtaKai VojtaKai self-assigned this Dec 4, 2026
@apify-release-bot

apify-release-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

✅ Preview for this PR (commit 2b6f17f) is ready at https://pr-3347.preview.docs.apify.com (see action run).

@apify-service-account

Copy link
Copy Markdown
Contributor

API behavior and specification alignment:

  • PLATINUM and DIAMOND are still returned to callers without access (the hiding in apify/apify-core#33864 / #33865 is unmerged and not in the latest tag v0.1624.0). Store search passes the current pricing through unfiltered — https://github.com/apify/apify-core/blob/v0.1624.0/src/packages/actor-server/src/actors/public_api_store_search.ts#L70-L82
    • GET /v2/store?search=instagram-scraper&username=apify&limit=1 (anonymous) → currentPricingInfo.pricingPerEvent.actorChargeEvents.result.eventTieredPricingUsd: {"FREE":{"tieredEventPriceUsd":0.0027},"BRONZE":{…0.0023},"SILVER":{…0.0019},"GOLD":{…0.0015},"PLATINUM":{"tieredEventPriceUsd":0.0009},"DIAMOND":{"tieredEventPriceUsd":0.0005}}
    • GET /v2/acts/apify~instagram-scraper (anonymous, and with a FREE-tier user token) → pricingInfos[-1].pricingPerEvent.actorChargeEvents.result.eventTieredPricingUsd includes the same PLATINUM and DIAMOND entries.
    • GET /v2/store?limit=1000&offset={0,1000,2000}&pricingModel=PAY_PER_EVENT (FREE-tier user token) → all 2093 Actors with tiered events return PLATINUM and DIAMOND.

Reviewed commit: 2b6f17f

@github-actions
github-actions Bot requested a review from TC-MO December 4, 2026 17:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants