API reference
Preview a monitor
What one day of a keyword monitor can cost, with the same body as POST /monitors. Nothing is created and nothing is charged.
POSThttps://foundermcp.dev/api/v1/monitors/preview
What one day of a keyword monitor can cost, with the same body as POST /monitors. Nothing is created and nothing is charged.
Authentication
Send Authorization: Bearer gtk_…. Create the key under API Access → API Keys. A missing, invalid or revoked key is 401, including while this API is closed. A valid key while the API is closed for your organization answers 404, the same body as an unknown path. Every response includes FounderMCP-Api-Version and FounderMCP-Request-Id.
Body parameters
namestring· required — 1 to 120 characters.keywordsarray· required — 1 to 10 keywords.max_credits_per_dayinteger | null— Caps the preview’smax_credits.
Response
objectstring· required — Alwayscost_preview. One of:cost_preview.endpointstring· required — Which call this previews. One of:searches,leads,person.enrich,monitors.row_keystring· required — The row type that sets the headline price.credits_per_rowinteger· required — Credits for one row ofrow_key.max_rowsinteger· required — The most rows this call can return.max_creditsinteger· required — The most the call can spend. Amax_creditsyou sent caps it.periodstring· required —callfor one request,dayfor a monitor. One of:call,day.rowsobject[]· required — Every row type the call can deliver:row_key,credits_per_row,max_rows.notesstring[]· required — Plain-language limits of this preview.
Credits
Free. period is day. A delivered mention costs 5 credits.
Errors
- 400
invalid_request— The body would also be rejected by POST /monitors. - 401
authentication_error— The Authorization header is missing, or the key is unknown or revoked. - 403
permission_error— API access is not part of your plan, or your account is suspended. - 404
not_found— The endpoint does not exist. - 429
rate_limit_error— More than 60 requests per minute, or more than 3 at the same time, on one key. Wait for the Retry-After header. - 500
internal_error— Something went wrong on our side.
Example
cURL
curl -X POST "https://foundermcp.dev/api/v1/monitors/preview" \
-H "Authorization: Bearer $FOUNDERMCP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme mentions",
"keywords": [
"Acme Analytics"
],
"max_credits_per_day": 50
}'
JavaScript
const response = await fetch('https://foundermcp.dev/api/v1/monitors/preview', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FOUNDERMCP_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"name": "Acme mentions",
"keywords": [
"Acme Analytics"
],
"max_credits_per_day": 50
})
});
const body = await response.json();
Python
import json
import os
import urllib.request
payload = {
"name": "Acme mentions",
"keywords": [
"Acme Analytics"
],
"max_credits_per_day": 50
}
request = urllib.request.Request(
"https://foundermcp.dev/api/v1/monitors/preview",
headers={
"Authorization": f"Bearer {os.environ['FOUNDERMCP_API_KEY']}",
"Content-Type": "application/json"
},
data=json.dumps(payload).encode(),
method="POST",
)
with urllib.request.urlopen(request) as response:
body = json.load(response)
Example response
{
"object": "cost_preview",
"endpoint": "monitors",
"row_key": "mention",
"credits_per_row": 5,
"max_rows": 10,
"max_credits": 50,
"period": "day",
"rows": [
{
"row_key": "mention",
"credits_per_row": 5,
"max_rows": 10
}
],
"notes": []
}