Don't have an API key yet? Create your account in 30 seconds to get started
Get API Key →

Get Started in Minutes

Add monetization to your AI app with a few lines of code

Choose Your Integration

1

Install the SDK

$ pip install promptbid
2

Initialize the Client

from promptbid import PromptBid pb = PromptBid(api_key="your_api_key")
3

Request an Ad

ad = pb.get_ad( context="User is asking about running shoes for marathon training", format="native", placement="inline" ) if ad: print(f"Sponsored: {ad.headline}") print(ad.body) pb.track_impression(ad.id)
4

Go Live

Test your integration in sandbox mode first using your sandbox API key. Once verified, switch to your production key and deploy.

1

Install the SDK

$ npm install @promptbid/sdk
2

Initialize the Client

import { PromptBid } from '@promptbid/sdk'; const pb = new PromptBid({ apiKey: 'your_api_key' });
3

Request an Ad

const ad = await pb.getAd({ context: 'User is asking about running shoes for marathon training', format: 'native', placement: 'inline' }); if (ad) { console.log(`Sponsored: ${ad.headline}`); console.log(ad.body); pb.trackImpression(ad.id); }
4

Go Live

Test your integration in sandbox mode first using your sandbox API key. Once verified, switch to your production key and deploy.

What Happens Under the Hood

PromptBid processes your request in three simple steps, completing in under 100 milliseconds.

1

Send Context

Your app sends the conversation context and placement details to PromptBid.

2

Real-Time Auction

PromptBid runs a real-time auction among matching advertisers competing for the placement.

3

Return Winner

The winning ad is returned to your app for display, all in less than 100 milliseconds.

Ready to Monetize?

Get your API keys and start earning revenue today.