OmniApps Pseudo-Random & Decision Oracle API
The Pseudo-Random & Decision Oracle API from OmniApps — 13 operation(s) for pseudo-random & decision oracle.
The Pseudo-Random & Decision Oracle API from OmniApps — 13 operation(s) for pseudo-random & decision oracle.
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/omniapps-ca:omniapps-ca-pseudo-random-decision-oracle-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Sairen Agentic Node Pseudo-Random & Decision Oracle API
description: Zero-UI Machine-Native Autonomous Agent Services (Precision Time, High-Density Web Extractor)
version: 1.6.0
tags:
- name: Pseudo-Random & Decision Oracle
paths:
/v1/random/coin:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Flip Fair or Weighted Coins (GET)
description: 'Simulates flipping one or more unbiased coins using cryptographically secure CSPRNG.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_coin_toss_v1_random_coin_get
parameters:
- name: flips
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Number of coin flips.
default: 1
title: Flips
description: Number of coin flips.
- name: p_heads
in: query
required: false
schema:
type: number
maximum: 1.0
minimum: 0.0
description: Probability of heads.
default: 0.5
title: P Heads
description: Probability of heads.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Flip Fair or Weighted Coins (POST)
operationId: post_coin_toss_v1_random_coin_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CoinTossRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/8ball:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Consult Magic 8-Ball Oracle (GET)
description: 'Returns one of the canonical 20 Magic 8-Ball answers with sentiment classification.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_magic_8ball_v1_random_8ball_get
parameters:
- name: question
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Inquiry to pose to the oracle.
title: Question
description: Inquiry to pose to the oracle.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Consult Magic 8-Ball Oracle (POST)
operationId: post_magic_8ball_v1_random_8ball_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Magic8BallRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/fortune:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Crack Fortune Cookie (GET)
description: 'Cracks an open-entropy fortune cookie, returning an aphorism, 6 lucky numbers, and a word of the day.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_fortune_cookie_v1_random_fortune_get
parameters:
- name: theme
in: query
required: false
schema:
type: string
description: Fortune theme category.
default: all
title: Theme
description: Fortune theme category.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Crack Fortune Cookie (POST)
operationId: post_fortune_cookie_v1_random_fortune_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FortuneCookieRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/number/1-10:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Rapid Random Integer between 1 and 10
description: 'Convenience endpoint returning a single CSPRNG integer between 1 and 10.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_random_1_to_10_v1_random_number_1_10_get
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/number/1-100:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Rapid Random Integer between 1 and 100
description: 'Convenience endpoint returning a single CSPRNG integer between 1 and 100.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_random_1_to_100_v1_random_number_1_100_get
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/number:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Random Integer Range Generator (GET)
description: 'Generates unbiased random integers within [min, max] with optional summary statistics.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_random_numbers_v1_random_number_get
parameters:
- name: min
in: query
required: false
schema:
type: integer
description: Minimum integer.
default: 1
title: Min
description: Minimum integer.
- name: max
in: query
required: false
schema:
type: integer
description: Maximum integer.
default: 100
title: Max
description: Maximum integer.
- name: count
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Quantity of numbers.
default: 1
title: Count
description: Quantity of numbers.
- name: unique
in: query
required: false
schema:
type: boolean
description: Whether drawn numbers must be unique.
default: true
title: Unique
description: Whether drawn numbers must be unique.
- name: seed
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Optional deterministic seed.
title: Seed
description: Optional deterministic seed.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Random Integer Range Generator (POST)
operationId: post_random_numbers_v1_random_number_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RandomNumberRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/chance:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Percentage Roll & Probability Check (GET)
description: 'Rolls a random percentage and checks whether it meets or beats a probability threshold.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_chance_check_v1_random_chance_get
parameters:
- name: threshold
in: query
required: false
schema:
type: number
maximum: 100.0
minimum: 0.0
description: Threshold percent (0.0 to 100.0).
default: 50.0
title: Threshold
description: Threshold percent (0.0 to 100.0).
- name: precision
in: query
required: false
schema:
type: integer
maximum: 6
minimum: 0
description: Decimal places.
default: 2
title: Precision
description: Decimal places.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Percentage Roll & Probability Check (POST)
operationId: post_chance_check_v1_random_chance_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ChanceRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/rps:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Rock Paper Scissors Oracle (GET)
description: 'Unbiased game theory referee for Rock, Paper, Scissors (or RPSLS).
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_rock_paper_scissors_v1_random_rps_get
parameters:
- name: player_move
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 'Player move: rock, paper, scissors (or lizard, spock).'
title: Player Move
description: 'Player move: rock, paper, scissors (or lizard, spock).'
- name: variant
in: query
required: false
schema:
type: string
description: Game variant ('classic' or 'lizard_spock').
default: classic
title: Variant
description: Game variant ('classic' or 'lizard_spock').
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Rock Paper Scissors Oracle (POST)
operationId: post_rock_paper_scissors_v1_random_rps_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RPSRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/dice:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Polyhedral RPG Dice Roller (GET)
description: 'Rolls polyhedral RPG dice notation (NdS+M) and detects critical hits/failures.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_dice_roll_v1_random_dice_get
parameters:
- name: notation
in: query
required: false
schema:
type: string
description: Dice notation (e.g. '1d20', '2d6+3', '1d100').
default: 1d20
title: Notation
description: Dice notation (e.g. '1d20', '2d6+3', '1d100').
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Polyhedral RPG Dice Roller (POST)
operationId: post_dice_roll_v1_random_dice_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DiceRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/card:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Draw Playing Cards from 52-Card Deck (GET)
description: 'Draws unique playing cards from a standard 52-card deck with rank, suit, color, and value.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_card_draw_v1_random_card_get
parameters:
- name: count
in: query
required: false
schema:
type: integer
maximum: 52
minimum: 1
description: Cards to draw.
default: 1
title: Count
description: Cards to draw.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Draw Playing Cards from 52-Card Deck (POST)
operationId: post_card_draw_v1_random_card_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CardDrawRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/pick:
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Pick Random Items from List (POST)
description: 'Selects one or more items from an arbitrary list with optional relative weights.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: post_pick_items_v1_random_pick_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PickItemsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/token:
get:
tags:
- Pseudo-Random & Decision Oracle
summary: Generate Cryptographic Token or Nonce (GET)
description: 'Generates CSPRNG nonces, UUIDs, or random tokens for replay protection or distributed consensus.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: get_crypto_token_v1_random_token_get
parameters:
- name: type
in: query
required: false
schema:
type: string
description: 'Token type: ''uuid4'', ''hex'', ''urlsafe_base64'', ''alphanumeric''.'
default: uuid4
title: Type
description: 'Token type: ''uuid4'', ''hex'', ''urlsafe_base64'', ''alphanumeric''.'
- name: length
in: query
required: false
schema:
type: integer
maximum: 512
minimum: 4
description: Byte length.
default: 16
title: Length
description: Byte length.
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Generate Cryptographic Token or Nonce (POST)
operationId: post_crypto_token_v1_random_token_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TokenRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/random/roll:
post:
tags:
- Pseudo-Random & Decision Oracle
summary: Master Unified Random Decision Dispatcher
description: 'Single unified master endpoint routing any random action type in a single clean JSON request.
Supported types: ''coin'', ''8ball'', ''fortune'', ''number'', ''chance'', ''rps'', ''dice'', ''card'', ''pick'', ''token''.
Gated via x402 micropayments ($0.0001 USDC).'
operationId: master_random_dispatcher_v1_random_roll_post
parameters:
- name: X-Payment-Signature
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Payment-Signature
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MasterRollRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ChanceRequest:
properties:
threshold_percent:
type: number
maximum: 100.0
minimum: 0.0
title: Threshold Percent
description: Probability threshold percentage to check against.
default: 50.0
precision:
type: integer
maximum: 6.0
minimum: 0.0
title: Precision
description: Decimal places for the percentage roll.
default: 2
type: object
title: ChanceRequest
MasterRollRequest:
properties:
type:
anyOf:
- type: string
- type: 'null'
title: Type
description: 'Action type: ''coin'', ''8ball'', ''fortune'', ''number'', ''chance'', ''rps'', ''dice'', ''card'', ''pick'', ''token''.'
action:
anyOf:
- type: string
- type: 'null'
title: Action
description: Action type alias.
params:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Params
description: Parameters specific to the selected action type.
type: object
title: MasterRollRequest
CardDrawRequest:
properties:
count:
type: integer
maximum: 52.0
minimum: 1.0
title: Count
description: Number of unique cards to draw from standard 52-card deck.
default: 1
type: object
title: CardDrawRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
RandomNumberRequest:
properties:
min:
type: integer
title: Min
description: Minimum integer bound (inclusive).
default: 1
max:
type: integer
title: Max
description: Maximum integer bound (inclusive).
default: 100
count:
type: integer
maximum: 1000.0
minimum: 1.0
title: Count
description: Quantity of random numbers to draw.
default: 1
unique:
type: boolean
title: Unique
description: Whether drawn numbers must be unique without replacement.
default: true
seed:
anyOf:
- type: integer
- type: 'null'
title: Seed
description: Optional integer seed for deterministic reproducibility.
type: object
title: RandomNumberRequest
PickItemsRequest:
properties:
items:
items: {}
type: array
minItems: 1
title: Items
description: List of items or options to select from.
count:
type: integer
minimum: 1.0
title: Count
description: Number of items to pick.
default: 1
weights:
anyOf:
- items:
type: number
type: array
- type: 'null'
title: Weights
description: Optional relative weights corresponding to each item.
replace:
type: boolean
title: Replace
description: Whether to sample with replacement.
default: false
type: object
required:
- items
title: PickItemsRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
DiceRequest:
properties:
notation:
type: string
title: Notation
description: Polyhedral RPG dice notation (e.g. '1d20', '2d6+3', '1d100').
default: 1d20
type: object
title: DiceRequest
RPSRequest:
properties:
player_move:
anyOf:
- type: string
- type: 'null'
title: Player Move
description: 'Player move: ''rock'', ''paper'', ''scissors'' (or ''lizard'', ''spock'').'
variant:
type: string
title: Variant
description: 'Game variant: ''classic'' or ''lizard_spock''.'
default: classic
type: object
title: RPSRequest
FortuneCookieRequest:
properties:
theme:
anyOf:
- type: string
- type: 'null'
title: Theme
description: 'Fortune theme: ''all'', ''crypto'', ''algorithmic'', ''classic''.'
default: all
type: object
title: FortuneCookieRequest
TokenRequest:
properties:
token_type:
type: string
title: Token Type
description: 'Token format: ''uuid4'', ''hex'', ''urlsafe_base64'', ''alphanumeric''.'
default: uuid4
byte_length:
type: integer
maximum: 512.0
minimum: 4.0
title: Byte Length
description: Entropy length in bytes (ignored for uuid4).
default: 16
type: object
title: TokenRequest
CoinTossRequest:
properties:
flips:
type: integer
maximum: 1000.0
minimum: 1.0
title: Flips
description: Number of coin flips to execute.
default: 1
p_heads:
type: number
maximum: 1.0
minimum: 0.0
title: P Heads
description: Probability of landing heads (0.5 = fair coin).
default: 0.5
type: object
title: CoinTossRequest
Magic8BallRequest:
properties:
question:
anyOf:
- type: string
- type: 'null'
title: Question
description: Optional inquiry to pose to the Magic 8-Ball oracle.
type: object
title: Magic8BallRequest