For Developers

Monetize Your Game
in 3 API Calls

No SDKs to install. No banners to place. Just call our REST API when generating a scene, weave the narrative hook into dialogue, and record the impression. You earn 70% of every CPM.

The Entire Integration

1

Match

Find the best ad for the current scene context

2

Inject

Weave the narrative hook into your dialogue

3

Record

Log the impression — you get paid

Python C# JavaScript
import httpx

API = "https://api.scrya.com"
HEADERS = {"Authorization": f"Bearer {api_key}"}

# Step 1: Match — find the best ad for this scene
match = httpx.post(f"{API}/api/ads/match", json={
    "game_id": game_id,
    "user_id": player_id,
    "player_geo": {"country_code": "US", "state_code": "CA"},
    "game_context": {
        "theme_id": "3",
        "category": "simulation",
        "narrative": "The president faces a crisis...",
        "mood_tags": ["tense", "urgent"]
    },
    "session_id": session_id
}, headers=HEADERS).json()

# Step 2: Inject — weave the hook into your dialogue
if match:
    dialogue.append(match["narrative_hook"])
    apply_visual_bias(match.get("biased_pipeline", {}))

    # Step 3: Record — log the impression, you earn 70%
    httpx.post(f"{API}/api/ads/impressions", json={
        "campaign_id": match["campaign_id"],
        "creative_id": match["creative_id"],
        "game_id": game_id
    }, headers=HEADERS)

Works With Any Engine

If it can make an HTTP request, it can run Scrya ads.

Unity
Unreal
Godot
Web / JS
Any REST Client

Zero UI Disruption

No banners, no interstitials, no rewarded video walls. Ads live in dialogue and visuals — players don't know they're ads.

70% Revenue Share

Default revenue share is 70% to you, 30% to Scrya. Configurable from 0-100% per game placement.

Session Fatigue Control

Set max ads per session. The system automatically respects limits — no player gets ad-fatigued.

Creator Blocklists

Block specific advertisers or entire categories. You control what brands appear in your game.

Real-Time Analytics

Track impressions, revenue, and performance via API. No dashboard required — build your own or use ours.

Multiple Placement Types

narrative_hook, product_mention, location_brand, character_reference — choose what fits your game.

Powered by Prompt Packs

A creator economy of curated prompt libraries. 9 types, 3-level taxonomy, subscribe-and-go.

Actions Camera Effects Outfits Lighting Locations Characters Dialogue Wildcards

Browse & Subscribe

Discover packs from the marketplace. Subscribe to load them into your pipeline instantly. One API call to list available packs.

Create & Publish

Build your own packs with sections, items, and thumbnails. Publish publicly or keep private. Full CRUD via REST API.

Workspace-Aware

Packs scope to personal or team workspaces. Team members share subscriptions. Visibility controls at pack and item level.

How Much Could You Earn?

Use the revenue calculator to estimate your monthly earnings based on DAU and session length.

Revenue Calculator