API Playground
Test the Surfacedd API live
Send real requests to the Surfacedd Ads API and see what comes back. No API key needed for the demo.
Request
$ curl -X POST https://api.surfacedd.com/v1/ads \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"query":"best laptop for video editing","format":"text"}'
Quick Start
Integrate in 5 minutes
Install the SDK, initialize with your app ID, call the ad endpoint. That's it.
JavaScript / Node.js
$ npm install @surfacedd/sdk
import { Surfacedd } from '@surfacedd/sdk'
const client = new Surfacedd('your_app_id')
const ad = await client.getAd({
query: userQuery,
format: 'text'
})
Python
$ pip install surfacedd
from surfacedd import Surfacedd
client = Surfacedd("your_app_id")
ad = client.get_ad(
query=user_query,
format="text"
)