Simulate unit economics for a bounded sample
POST
bearerAuthheader
AuthorizationBearer <sc_live_<43 characters>>Organization API key created at /app/api. Scopes: scrape, crawl, search, research. The secret is shown once.
application/json- body
validatedSuccesses*integerRange
0 <= value <= 10000000upstreamUsd*numberRange
0 <= value <= 1000000billableUpstreamUsd*numberRange
0 <= value <= 1000000unknownUpstreamCharges*integerRange
0 <= value <= 10000000allocatedCoreMs*numberRange
0 <= value <= 1000000000000000allocatedMemoryGiBMs*numberRange
0 <= value <= 1000000000000000storedGiBDays*numberRange
0 <= value <= 1000000000000nonProxyEgressBytes*numberRange
0 <= value <= 1000000000000000000paymentTransactions*integerRange
0 <= value <= 10000000Estimated sample economics
application/json- response
simulation?curl -X POST 'https://sparkcrawl.com/api/v1/pricing/simulate' \ -H 'Content-Type: application/json' \ -d '{ "validatedSuccesses": 0, "upstreamUsd": 0, "billableUpstreamUsd": 0, "unknownUpstreamCharges": 0, "allocatedCoreMs": 0, "allocatedMemoryGiBMs": 0, "storedGiBDays": 0, "nonProxyEgressBytes": 0, "paymentTransactions": 0}'Example Response
{ "simulation": {}}