FlashData Trial Credits API
The Trial Credits API from FlashData — 1 operation(s) for trial credits.
The Trial Credits API from FlashData — 1 operation(s) for trial credits.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/flashdata-dev:flashdata-dev-trial-credits-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: FlashData Customer Trial Credits API
version: 0.2.0-draft
summary: FlashData control-plane API contract
description: Google search, YouTube data and media downloads, with endpoints for jobs, accounts, API keys and billing. See /docs for request examples and setup guides.
contact:
name: FlashData Engineering
servers:
- url: https://api.flashdata.dev/v2
description: Management API
tags:
- name: Trial Credits
paths:
/trial-credit-request:
get:
operationId: getTrialCreditRequest
tags:
- Trial Credits
summary: Read Trial Credit eligibility and the account's lifetime request
security:
- cookieSession: []
responses:
'200':
description: Current eligibility, configured grant, and request state
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
content:
application/json:
schema:
$ref: '#/components/schemas/TrialCreditState'
'401':
$ref: '#/components/responses/NoStoreUnauthorized'
'500':
$ref: '#/components/responses/NoStoreInternalError'
'503':
$ref: '#/components/responses/NoStoreServiceUnavailable'
post:
operationId: createTrialCreditRequest
tags:
- Trial Credits
summary: Submit the account's one lifetime Trial Credit request
description: The trial amount and use case are saved when you submit the request.
security:
- cookieSession: []
csrfToken: []
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
content:
application/json:
schema:
type: object
additionalProperties: false
responses:
'201':
description: Trial Credit request created and automatically approved for eligible verified accounts, regardless of email provider
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
content:
application/json:
schema:
$ref: '#/components/schemas/TrialCreditState'
'401':
$ref: '#/components/responses/NoStoreUnauthorized'
'403':
$ref: '#/components/responses/NoStoreForbidden'
'409':
$ref: '#/components/responses/NoStoreConflict'
'422':
$ref: '#/components/responses/NoStoreValidationError'
'500':
$ref: '#/components/responses/NoStoreInternalError'
'503':
$ref: '#/components/responses/NoStoreServiceUnavailable'
components:
responses:
NoStoreValidationError:
description: Request validation failed
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NoStoreConflict:
description: Resource state or idempotency conflict
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NoStoreInternalError:
description: An unexpected internal error occurred
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NoStoreForbidden:
description: Authenticated but not permitted, or CSRF validation failed
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NoStoreServiceUnavailable:
description: A required dependency or onboarding record is temporarily unavailable
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NoStoreUnauthorized:
description: Authentication required or invalid
headers:
Cache-Control:
$ref: '#/components/headers/CacheControlNoStore'
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
headers:
RequestId:
description: Stable request correlation ID
schema:
type: string
pattern: ^req_
CacheControlNoStore:
description: Prevents storage of sensitive or state-changing responses by browsers and intermediaries
schema:
type: string
const: no-store
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: true
schema:
type: string
minLength: 1
maxLength: 255
schemas:
FieldError:
type: object
additionalProperties: false
required:
- field
- code
- message
properties:
field:
type: string
code:
type: string
message:
type: string
Problem:
type: object
additionalProperties: false
required:
- type
- title
- status
- code
- requestId
properties:
type:
type: string
format: uri-reference
title:
type: string
status:
type: integer
minimum: 400
maximum: 599
code:
type: string
pattern: ^[a-z0-9_]+$
detail:
type: string
requestId:
type: string
pattern: ^req_
fieldErrors:
type: array
items:
$ref: '#/components/schemas/FieldError'
TrialCreditState:
type: object
additionalProperties: false
required:
- eligible
- ineligibilityReason
- grantCredits
- settingsVersion
- request
properties:
eligible:
type: boolean
ineligibilityReason:
type:
- string
- 'null'
enum:
- account_inactive
- email_unverified
- onboarding_incomplete
- not_payg
- payment_history
- already_granted
- already_requested
- null
grantCredits:
type: integer
minimum: 1
settingsVersion:
type: integer
minimum: 0
request:
oneOf:
- $ref: '#/components/schemas/TrialCreditRequest'
- type: 'null'
TrialCreditRequestStatus:
type: string
enum:
- pending
- approved
- rejected
TrialCreditRequest:
type: object
additionalProperties: false
required:
- id
- status
- requestedCredits
- policyVersion
- useCase
- requestedAt
- reviewedAt
- reviewReason
- version
properties:
id:
type: string
pattern: ^tcr_[A-Za-z0-9_-]{8,}$
status:
$ref: '#/components/schemas/TrialCreditRequestStatus'
requestedCredits:
type: integer
minimum: 1
policyVersion:
type: integer
minimum: 0
useCase:
type:
- string
- 'null'
enum:
- google_search
- youtube_data
- download
- null
requestedAt:
type: string
format: date-time
reviewedAt:
type:
- string
- 'null'
format: date-time
reviewReason:
type:
- string
- 'null'
version:
type: integer
minimum: 0
securitySchemes:
dataApiKey:
type: apiKey
in: header
name: X-API-Key
description: FlashData API key. Job access is restricted to the key's source scopes.
agentRegistrationProof:
type: http
scheme: bearer
description: Persist a cryptographically random 32-byte base64url proof and exact request BEFORE sending; recover only with the same proof and body. Not an OAuth token.
cookieSession:
type: apiKey
in: cookie
name: __Host-fd_session
description: Opaque Web session. The browser cannot read this cookie.
agentSetupCredential:
type: http
scheme: bearer
description: Temporary setup credential for status and claim creation only. Not a data API key.
csrfToken:
type: apiKey
in: header
name: X-CSRF-Token
agentIdentityKey:
type: http
scheme: bearer
description: Ordinary FlashData API key in Authorization Bearer, only on agent identity. Data queries use X-API-Key instead.
agentHandoffProof:
type: http
scheme: bearer
description: Proof used to recover the owner key and acknowledge installation. Never sent to a data query.