Create an account
Use a named developer account rather than a shared login so ownership and audit history remain clear.
Start with a small authenticated request, understand the failure modes and move to production with confidence.
Keep your permanent key in a server-side secret store. The example below checks a domain using a bearer token and JSON body. Replace the sample domain with data you are authorised to process.
export ACTOKI_API_KEY="your_server_side_key"
curl --request POST \
--url https://actoki.com/v1/domain-guard/check \
--header "Authorization: Bearer $ACTOKI_API_KEY" \
--header "Content-Type: application/json" \
--data '{"domain":"example.org"}'Use a named developer account rather than a shared login so ownership and audit history remain clear.
Grant only the services required by the application and separate development credentials from production.
Expect success, validation errors, authentication failures, rate limits and transient upstream failures.
Add timeouts, structured logging, usage alerts and an ownership plan for rotation and incident response.
Send the account API key using the bearer scheme. Permanent API keys are secrets: keep them in your server environment or managed secret store, never in browser JavaScript, public repositories, screenshots or support tickets.
Authorization: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
Accept: application/jsonAuthorization: Bearer sk_live_... or sk_test_.... Restrict a key to one or more services and optionally to specific IPs/CIDRs/hostnames. Secret server keys belong only on your backend/BFF; never embed them in browser JavaScript, mobile apps or distributed desktop binaries. Older dgc_.../dgs_... Domain Guard pairs are deprecated compatibility credentials and should be migrated to a standard server key.Keys beginning with sk_live_ or sk_test_ authenticate server-to-server API requests. The full value is displayed once and stored by Actoki as a one-way hash. Restrict each key to the required services and trusted server IPs.
Browser-facing map credentials can be copied again because they are limited to protected map delivery and exact approved origins. They cannot authorize the general API catalogue.
Create a replacement, deploy it, confirm successful traffic and let the old server key expire after a short grace period. Use immediate revocation whenever exposure is suspected.
The account API Explorer uses a temporary, service-scoped server credential that is revoked after every request. Permanent keys never enter browser JavaScript.
const controller = new AbortController();
const timeout = setTimeout(() => controller.abort(), 8000);
try {
const response = await fetch('https://actoki.com/v1/domain-guard/check', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.ACTOKI_API_KEY}`,
'Content-Type': 'application/json',
Accept: 'application/json'
},
body: JSON.stringify({ domain: 'example.org' }),
signal: controller.signal
});
const payload = await response.json();
if (!response.ok) throw new Error(payload.message || 'Actoki request failed');
console.log(payload);
} finally {
clearTimeout(timeout);
}$ch = curl_init('https://actoki.com/v1/domain-guard/check');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 3,
CURLOPT_TIMEOUT => 8,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('ACTOKI_API_KEY'),
'Content-Type: application/json',
'Accept: application/json',
],
CURLOPT_POSTFIELDS => json_encode(['domain' => 'example.org']),
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($body === false) throw new RuntimeException(curl_error($ch));
$result = json_decode($body, true, flags: JSON_THROW_ON_ERROR);
if ($status < 200 || $status >= 300) {
throw new RuntimeException($result['message'] ?? 'Actoki request failed');
}Actoki Identity at auth.actoki.com is separate from the bearer API key above. Use OpenID Connect Authorization Code + PKCE S256 when real people sign in to your website, SPA, iOS/Android app or desktop application. Your application redirects the browser to Actoki, Actoki authenticates the person using the methods enabled for your workspace, and your application receives a short-lived authorization code. Your application never receives the user's password, OTP, authenticator seed or passkey private key.
Confidential client. Keep the client secret on the server only. Use Authorization Code + PKCE.
Public client. No client secret in JavaScript. Use Authorization Code + PKCE.
Public client. Use the system browser and PKCE. Never embed a confidential secret in the distributed app.
No human. Use OAuth 2.0 Client Credentials with an API resource, audience and least-privilege scopes.
Signed-in customers configure Identity under Account -> Identity & SSO. Create a Server website, SPA, Mobile or Desktop application, register exact callback and post-logout URLs, and choose the required scopes. Server websites and machine clients receive encrypted client secrets. Authorised workspace users can reveal them again after password re-authentication. Public SPA/mobile/desktop clients do not receive a secret.
Actoki-generated server API keys, confidential OIDC/M2M client secrets, API-resource introspection secrets and Forward Auth proxy secrets are authenticated using one-way hashes and separately stored as AES-256-GCM ciphertext for authorised reveal. The encryption keyring is held outside the database.
Secret lists remain masked. Reveal requires an authorised signed-in user, CSRF protection and current-password re-authentication. Reveals are audited and protected pages are sent with no-store cache headers. Legacy hash-only credentials cannot be recovered; rotate them once to create a revealable encrypted credential.
The replacement credential works immediately. Choose immediate cutover, 1 hour, 24 hours or 7 days of overlap. During overlap both the previous and replacement credentials authenticate. At the deadline the previous credential is rejected even before cleanup runs; maintenance then marks it retired and destroys its recoverable ciphertext while keeping audit metadata.
Generate fresh high-entropy state, nonce and a PKCE verifier for each login. Store them until the callback, then redirect the browser to the authorization endpoint.
https://auth.actoki.com/oauth2/authorize
?response_type=code
&client_id=YOUR_CLIENT_ID
&redirect_uri=https%3A%2F%2Fexample.com%2Fauth%2Fcallback
&scope=openid%20profile%20email
&state=RANDOM_STATE
&nonce=RANDOM_NONCE
&code_challenge=PKCE_S256_CHALLENGE
&code_challenge_method=S256Actoki returns the browser only to an exact registered redirect URI with code and the original state. Reject missing or mismatched state. Exchange the one-time code at POST https://auth.actoki.com/oauth2/token using the original PKCE verifier. Confidential server apps send client_id and client_secret in the form body (client_secret_post); public apps send no secret.
Verify the RS256 ID-token signature using the tenant discovery/JWKS metadata, then require the exact tenant issuer, your client ID as audience, valid lifetime and the original nonce. Use the pair issuer + sub as the stable external identity mapping to your own user ID. Do not use email as the permanent primary key.
/register route is reserved for first-party Actoki registration; it is not a public self-signup endpoint for arbitrary customer tenants.The Identity management API supports applications, redirects/scopes/status, confidential secret rotation and credential revocation, users, invitations, sessions, authentication policy, providers, security events and portability export. See the Identity and SSO API endpoints in the reference below. Machine-to-machine systems additionally use API resources, audiences, service accounts and client_credentials.
Successful requests return JSON appropriate to the endpoint. Error responses use the HTTP status to describe the broad class of failure and a machine-readable code or message for handling and diagnosis.
400Invalid or incomplete input. Correct the request rather than retrying it unchanged.401Missing, invalid or revoked credentials. Check the secret and environment.403The account or key does not have permission for the requested service.404The route or requested resource does not exist.409The request conflicts with the current state. Use idempotency or refresh state where relevant.422The request is valid JSON but one or more values cannot be processed.429The request is rate limited. Respect Retry-After and add bounded backoff with jitter.5xxA server or upstream dependency failed. Retry only safe operations and cap the total retry window.{
"ok": false,
"error": "validation_failed",
"message": "A valid domain is required.",
"request_id": "req_..."
}Rate limiting protects customer accounts and shared capacity. Exact allowances can vary by endpoint and account configuration, so integrations should respond to the HTTP status and headers rather than relying on a hard-coded global threshold.
Retry-After when it is present.Protected maps use a deliberately different credential flow from normal APIs. A permanent sk_live_… server key stays on your backend. Website embeds use a browser-visible publishable map key restricted to approved origins. Native apps use a short-lived, one-time WebView launch session created by your backend.
POST /v1/maps/embeds from your backend.https://www.example.com. Add staging and mobile subdomains separately.mepk_… key is safe to expose only because it is limited to that map, its approved origins and configured limits.<div style="position:relative;aspect-ratio:16/9;min-height:320px">
<iframe
src="https://maps.actoki.com/embed/MAP_ID?key=YOUR_PUBLISHABLE_MAP_KEY"
title="Our location"
loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
allow="fullscreen"
style="position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:16px"
></iframe>
</div>curl --request POST \
--url https://actoki.com/v1/maps/embeds \
--header "Authorization: Bearer $ACTOKI_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: london-office-map-v1" \
--data '{
"name": "London office",
"allowed_origins": ["https://www.example.com"],
"location": {"latitude": 51.5074, "longitude": -0.1278},
"region": "uk",
"style": "actoki-light",
"labels": "on",
"zoom": {"initial": 15, "minimum": 12, "maximum": 18},
"controls": {"zoom": true, "pan": true, "rotation": false, "fullscreen": true},
"marker_label": "London office",
"marker_colour": "#2563eb",
"credits_per_load": 1,
"daily_view_limit": 1000,
"monthly_view_limit": 20000,
"rate_limit_per_minute": 60,
"active": true
}'Do not whitelist a phone's changing IP address and do not package a permanent server key in the app. The customer's backend creates a one-time mobile session after authenticating its own user.
ios:com.example.travelapp or android:com.example.travelapp.POST /v1/maps/mobile-sessions with its secret server key.webview_url and binding—to the signed-in app.X-Actoki-Mobile-Binding request header. Actoki exchanges it for a secure host cookie and activates the map.curl --request POST \
--url https://actoki.com/v1/maps/mobile-sessions \
--header "Authorization: Bearer $ACTOKI_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp",
"ttl": 180
}'{
"ok": true,
"credits_consumed": false,
"billing": "deferred_until_map_activation",
"session": {
"webview_url": "https://maps.actoki.com/mobile/launch/...",
"binding": "one-time-binding-value",
"expires_at": "2026-08-03T19:22:00Z"
}
}import WebKit
let configuration = WKWebViewConfiguration()
configuration.websiteDataStore = .default()
let webView = WKWebView(frame: .zero, configuration: configuration)
var request = URLRequest(url: URL(string: session.webviewURL)!)
request.setValue(session.binding, forHTTPHeaderField: "X-Actoki-Mobile-Binding")
webView.load(request)webView.settings.javaScriptEnabled = true
webView.settings.domStorageEnabled = true
webView.webViewClient = WebViewClient()
val headers = mapOf("X-Actoki-Mobile-Binding" to session.binding)
webView.loadUrl(session.webviewUrl, headers)region, style, labels, workspace/company address, custom address or manual centre coordinates, plus initial/minimum/maximum zoom.zoom, pan, rotation, fullscreen and fit_to_content.Idempotency-Key header when creating a map through the API.The complete field-by-field definitions, default values, ranges and examples are listed under Maps API in the endpoint reference.
/v1/maps/embed-load usage event.maps.actoki.com use MAPS_SERVER_SECRET over HTTPS.The reference distinguishes production-enabled endpoints from preview integrations that still depend on an external provider, durable worker or isolated inspection service. Preview endpoints remain visible for planning, but return HTTP 503 before usage is recorded or credits are consumed.
No single mechanism prevents every form of misuse. Use layered controls that reduce the value of a stolen key, limit the blast radius of mistakes and make unusual behaviour visible.
Complete these checks before sending customer traffic. They are intentionally operational: secure code can still fail when deployed with weak secrets, missing backups or incorrect proxy settings.
Use generated secrets, environment-specific API keys, least privilege and a documented rotation owner.
Enforce HTTPS, verify proxy trust, restrict administrative access and test the real production hostname.
Set timeouts, bounded retries, health checks, queues where needed and alerting for failed background work.
Minimise payloads, define retention, protect backups and test a restore rather than assuming one will work.
Record request IDs, endpoint outcomes and latency without storing secrets or unnecessary personal data.
Test authentication, rate limits, webhooks, email, maps and failure paths from a production-like staging environment.
The reference below is generated from the installed service manifests. Availability, permissions and metered units depend on the account and server configuration.
Domain to company profiling, company name cleanup and social link extraction.
/v1/business/website-profileWebsite profile
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domaindnsacompany_guessUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/business/website-profile?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/website-profile?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/website-profile?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/business/website-profile?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/business/website-profile?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/business/website-profile?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/business/domain-to-companyInfer company from domain
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domaincompany_guessUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/business/domain-to-company?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/domain-to-company?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/domain-to-company?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/business/domain-to-company?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/business/domain-to-company?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/business/domain-to-company?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/business/company-clean-nameClean company name
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/business/company-clean-name?name=Example+Travel+Limited
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = Example Travel Limited
/v1/business/email-domain-profileEmail domain profile
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainhas_mxhas_websiteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/business/email-domain-profile?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/email-domain-profile?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/email-domain-profile?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/business/email-domain-profile?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/business/email-domain-profile?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/business/email-domain-profile?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/business/social-linksExtract social links from HTML
The normal response can include the standard ok, endpoint and credits_charged fields plus:
linksUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/business/social-links?html=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/social-links?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/business/social-links?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/business/social-links?html=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/business/social-links?html=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/business/social-links?html=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
Search and retrieve official company-register records through a normalised Actoki interface. UK Companies House is production-enabled.
/v1/companies/searchSearch UK companies by name and, through advanced search, address or postcode.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessagecompany_namelocationsizestart_indexqitems_per_pageproviderjurisdictionquerynameaddresspostcodepaginationpageper_pagetotalresultsretrieved_atUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/search?name=example&q=example&address=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/search?name=example&q=example&address=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/search?name=example&q=example&address=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/search?name=example&q=example&address=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/search?name=example&q=example&address=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/search?name=example&q=example&address=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
q = example
address = example
/v1/companies/profileRetrieve an official company profile by company number.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/profile?jurisdiction=GB&company_number=01234567
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = GB
company_number = 01234567
/v1/companies/officersRetrieve company officers.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/officers?jurisdiction=GB&company_number=01234567
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = GB
company_number = 01234567
/v1/companies/pscRetrieve persons with significant control.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/psc?jurisdiction=GB&company_number=01234567
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = GB
company_number = 01234567
/v1/companies/filing-historyRetrieve filing history.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/filing-history?jurisdiction=GB&company_number=01234567
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = GB
company_number = 01234567
/v1/companies/chargesRetrieve registered charges.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/charges?jurisdiction=GB&company_number=01234567
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = GB
company_number = 01234567
/v1/companies/sourcesList company-register providers and coverage.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/companies/sources"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/companies/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/companies/sources');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/companies/sources', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/companies/sources
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Search official trade-mark sources through a consistent interface, with EUIPO search and USPTO known-record support plus safe UK IPO source discovery.
/v1/trademarks/searchSearch EU trade marks; return an official UK IPO search link where machine access is not licensed.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/trademarks/search?jurisdiction=EU&name=ACTOKI&q=ACTOKI
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = EU
name = ACTOKI
q = ACTOKI
/v1/trademarks/profileRetrieve EUIPO or USPTO trade-mark record details.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/trademarks/profile?jurisdiction=EU&application_number=018123456&serial_number=98765432
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jurisdiction = EU
application_number = 018123456
serial_number = 98765432
/v1/trademarks/sourcesList supported official trade-mark providers and integration status.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/trademarks/sources"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/trademarks/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/trademarks/sources');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/trademarks/sources', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/trademarks/sources
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Prepare and track transactional notifications through controlled server-side workflows.
/v1/notify/emailSend an email notification
The normal response can include the standard ok, endpoint and credits_charged fields plus:
queuednotification_idchannelnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/notify/email"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/email', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/email', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/notify/email');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/notify/email', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/notify/email
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/notify/templateSend a templated notification
The normal response can include the standard ok, endpoint and credits_charged fields plus:
queuednotification_idchannelnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/notify/template"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/template', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/template', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/notify/template');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/notify/template', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/notify/template
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/notify/statusCheck notification status
The normal response can include the standard ok, endpoint and credits_charged fields plus:
queuednotification_idchannelnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/notify/status"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/status', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/notify/status', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/notify/status');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/notify/status', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/notify/status
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
PII scanning, redaction, retention checks and privacy/cookie checks.
/v1/compliance/pii-scanPII scanner
The normal response can include the standard ok, endpoint and credits_charged fields plus:
serviceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com."
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com.');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com.', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/compliance/pii-scan?text=Contact+Jane+at+jane%40example.com.
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = Contact Jane at jane@example.com.
/v1/compliance/redactionRedact PII/secrets
The normal response can include the standard ok, endpoint and credits_charged fields plus:
redactedserviceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/compliance/redaction?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/redaction?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/redaction?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/compliance/redaction?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/compliance/redaction?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/compliance/redaction?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/compliance/retention-checkRetention policy check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
retention_daysage_daysdelete_recommendednoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/compliance/retention-check?retention_days=365&created_at=now
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
retention_days = 365
created_at = now
/v1/compliance/cookie-auditCookie text audit
The normal response can include the standard ok, endpoint and credits_charged fields plus:
mentionsneeds_cookie_noticenoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/compliance/cookie-audit?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/cookie-audit?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/cookie-audit?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/compliance/cookie-audit?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/compliance/cookie-audit?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/compliance/cookie-audit?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/compliance/privacy-policy-checkPrivacy policy content check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
checksscorenot_legal_adviceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/compliance/privacy-policy-check?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/privacy-policy-check?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/compliance/privacy-policy-check?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/compliance/privacy-policy-check?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/compliance/privacy-policy-check?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/compliance/privacy-policy-check?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
Detect sensitive content, redact common identifiers and add lightweight text intelligence to workflows.
/v1/content/profanityDetect profanity in text
The normal response can include the standard ok, endpoint and credits_charged fields plus:
contains_profanitymatchesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/profanity?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/profanity?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/profanity?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/profanity?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/profanity?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/profanity?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/content/pii-detectDetect emails, phone numbers and basic PII
The normal response can include the standard ok, endpoint and credits_charged fields plus:
email_countphone_counthas_piiemailsphonesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/pii-detect?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/pii-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/pii-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/pii-detect?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/pii-detect?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/pii-detect?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/content/redactRedact basic PII
The normal response can include the standard ok, endpoint and credits_charged fields plus:
redactedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/redact?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/redact?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/redact?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/redact?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/redact?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/redact?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/content/language-detectDetect likely language
The normal response can include the standard ok, endpoint and credits_charged fields plus:
languageconfidenceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/language-detect?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/language-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/language-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/language-detect?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/language-detect?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/language-detect?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/content/readabilityReadability score
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/readability?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/readability?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/readability?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/readability?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/readability?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/readability?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/content/sentiment-basicBasic sentiment score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
sentimentpositive_hitsnegative_hitsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/content/sentiment-basic?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/sentiment-basic?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/content/sentiment-basic?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/content/sentiment-basic?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/content/sentiment-basic?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/content/sentiment-basic?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
Normalise, compare, deduplicate and improve business data before it reaches downstream systems.
/v1/data-quality/dedupeRemove duplicates
The normal response can include the standard ok, endpoint and credits_charged fields plus:
itemsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data-quality/dedupe?text=example&items=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/dedupe?text=example&items=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/dedupe?text=example&items=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data-quality/dedupe?text=example&items=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data-quality/dedupe?text=example&items=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data-quality/dedupe?text=example&items=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
items = example
/v1/data-quality/normaliseNormalise whitespace/casing
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data-quality/normalise?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/normalise?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/normalise?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data-quality/normalise?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data-quality/normalise?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data-quality/normalise?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/data-quality/fuzzy-matchFuzzy match two values
The normal response can include the standard ok, endpoint and credits_charged fields plus:
match_percentis_likely_matchUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data-quality/fuzzy-match?a=example&b=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
a = example
b = example
/v1/data-quality/name-splitSplit a person name
The normal response can include the standard ok, endpoint and credits_charged fields plus:
firstlastpartsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data-quality/name-split?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/name-split?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/name-split?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data-quality/name-split?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data-quality/name-split?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data-quality/name-split?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
/v1/data-quality/company-name-cleanClean company suffixes
The normal response can include the standard ok, endpoint and credits_charged fields plus:
clean_nameUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data-quality/company-name-clean?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/company-name-clean?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data-quality/company-name-clean?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data-quality/company-name-clean?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data-quality/company-name-clean?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data-quality/company-name-clean?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
Spreadsheet profiling, cleaning, column detection, email validation and dedupe.
/v1/spreadsheet/profileSpreadsheet profile
The normal response can include the standard ok, endpoint and credits_charged fields plus:
rowscolumnsheadersUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/profile?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/profile?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/profile?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/profile?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/profile?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/profile?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/spreadsheet/cleanSpreadsheet cleaner
The normal response can include the standard ok, endpoint and credits_charged fields plus:
cleanednoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/clean?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/clean?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/clean?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/clean?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/clean?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/clean?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/spreadsheet/detect-columnsDetect columns
The normal response can include the standard ok, endpoint and credits_charged fields plus:
headersguessesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/detect-columns?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/detect-columns?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/detect-columns?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/detect-columns?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/detect-columns?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/detect-columns?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/spreadsheet/validate-emailsValidate emails in table
The normal response can include the standard ok, endpoint and credits_charged fields plus:
email_countemailsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/validate-emails?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/validate-emails?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/validate-emails?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/validate-emails?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/validate-emails?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/validate-emails?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/spreadsheet/dedupe-rowsDedupe rows
The normal response can include the standard ok, endpoint and credits_charged fields plus:
rowsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/dedupe-rows?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/spreadsheet/normalise-addressesAddress normalisation integration
The normal response can include the standard ok, endpoint and credits_charged fields plus:
cleanednoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spreadsheet/normalise-addresses?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
Business days, holidays, age, countdown and payday helpers.
/v1/date/business-daysBusiness days between dates
The normal response can include the standard ok, endpoint and credits_charged fields plus:
business_daysstartendUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/business-days?end=%2B30+days&start=today"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/business-days?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/business-days?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/business-days?end=%2B30+days&start=today');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/business-days?end=%2B30+days&start=today', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/business-days?end=%2B30+days&start=today
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
end = +30 days
start = today
/v1/date/add-business-daysAdd business days
The normal response can include the standard ok, endpoint and credits_charged fields plus:
dateUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/add-business-days?start=today&days=5"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/add-business-days?start=today&days=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/add-business-days?start=today&days=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/add-business-days?start=today&days=5');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/add-business-days?start=today&days=5', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/add-business-days?start=today&days=5
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
start = today
days = 5
/v1/date/working-days-betweenWorking days between dates
The normal response can include the standard ok, endpoint and credits_charged fields plus:
business_daysstartendUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/working-days-between?end=%2B30+days&start=today
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
end = +30 days
start = today
/v1/date/holidayRegional public-holiday lookup
The normal response can include the standard ok, endpoint and credits_charged fields plus:
providercountryyearUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/holiday?country=GB&year=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/holiday?country=GB&year=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/holiday?country=GB&year=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/holiday?country=GB&year=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/holiday?country=GB&year=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/holiday?country=GB&year=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
country = GB
year = 1
/v1/date/ageAge calculator
The normal response can include the standard ok, endpoint and credits_charged fields plus:
age_yearsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/age?dob=2000-01-01"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/age?dob=2000-01-01', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/age?dob=2000-01-01', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/age?dob=2000-01-01');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/age?dob=2000-01-01', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/age?dob=2000-01-01
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
dob = 2000-01-01
/v1/date/countdownCountdown
The normal response can include the standard ok, endpoint and credits_charged fields plus:
daysstartendUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/countdown?end=%2B30+days&start=today"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/countdown?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/countdown?end=%2B30+days&start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/countdown?end=%2B30+days&start=today');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/countdown?end=%2B30+days&start=today', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/countdown?end=%2B30+days&start=today
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
end = +30 days
start = today
/v1/date/paydayPayday helper
The normal response can include the standard ok, endpoint and credits_charged fields plus:
paydayUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/date/payday?start=today"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/payday?start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/date/payday?start=today', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/date/payday?start=today');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/date/payday?start=today', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/date/payday?start=today
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
start = today
One-off and scheduled DNSBL monitoring for domains and sending IPs.
/v1/blacklist/checkCheck a domain or IPv4 address against configured DNSBLs.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
resultUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"type": "domain",
"target": "example"
}' \
"https://actoki.com/v1/blacklist/check"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/blacklist/check', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"type": "domain",
"target": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/blacklist/check', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"type": "domain",
"target": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/blacklist/check');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'type' => 'domain',
'target' => 'example',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"type": "domain",
"target": "example"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/blacklist/check', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/blacklist/check
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"type": "domain",
"target": "example"
}
/v1/blacklist/monitorsCreate, list or delete blacklist monitors.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
erroridmonitorsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/blacklist/monitors?id=example&type=domain&target=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = example
type = domain
target = example
Find likely business email addresses using patterns, DNS and optional SMTP evidence.
/v1/email-finder/findFind and rank likely email addresses.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
resultUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"smtp": false,
"first_name": "example",
"last_name": "example"
}' \
"https://actoki.com/v1/email-finder/find"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-finder/find', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"smtp": false,
"first_name": "example",
"last_name": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-finder/find', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"smtp": false,
"first_name": "example",
"last_name": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-finder/find');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'smtp' => false,
'first_name' => 'example',
'last_name' => 'example',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"smtp": False,
"first_name": "example",
"last_name": "example"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/email-finder/find', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/email-finder/find
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"smtp": false,
"first_name": "example",
"last_name": "example"
}
/v1/email-finder/batchFind emails for up to 100 people.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorindexcountresultsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"people": "example"
}' \
"https://actoki.com/v1/email-finder/batch"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-finder/batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"people": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-finder/batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"people": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-finder/batch');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'people' => 'example',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"people": "example"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/email-finder/batch', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/email-finder/batch
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"people": "example"
}
Create seed-mailbox placement tests and inspect inbox, spam and authentication results.
/v1/inbox-placement/testsCreate or list inbox-placement tests.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
testtestsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/inbox-placement/tests?label=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/inbox-placement/tests?label=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/inbox-placement/tests?label=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/inbox-placement/tests?label=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/inbox-placement/tests?label=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/inbox-placement/tests?label=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
label = example
/v1/inbox-placement/statusRead inbox-placement results.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errortestUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/inbox-placement/status?id=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/inbox-placement/status?id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/inbox-placement/status?id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/inbox-placement/status?id=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/inbox-placement/status?id=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/inbox-placement/status?id=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = example
Mail-tester-style spam checker: send a real email to a one-off test address and get a scored SPF/DKIM/DMARC, blacklist and content report.
/v1/spam-test/testsCreate a one-off spam-test address or list previous tests.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
testtestsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spam-test/tests?label=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spam-test/tests?label=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spam-test/tests?label=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spam-test/tests?label=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spam-test/tests?label=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spam-test/tests?label=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
label = example
/v1/spam-test/statusRead the score and itemised report for a spam test.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errortestUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/spam-test/status?id=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spam-test/status?id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/spam-test/status?id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/spam-test/status?id=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/spam-test/status?id=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/spam-test/status?id=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = example
Colour palettes, colour conversion, contrast checks and gradients.
/v1/design/palette/randomGenerate 2-5 matching random colours.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/design/palette/random?count=5&style=bright"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/palette/random?count=5&style=bright', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/palette/random?count=5&style=bright', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/design/palette/random?count=5&style=bright');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/design/palette/random?count=5&style=bright', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/design/palette/random?count=5&style=bright
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
count = 5
style = bright
/v1/design/palette/from-colourGenerate matching colours from one colour.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/design/palette/from-colour?colour=%233B82F6&count=5&style=bright
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
colour = #3B82F6
count = 5
style = bright
/v1/design/colour/convertConvert HEX/RGB/HSL colour formats.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/design/colour/convert?colour=%233B82F6"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/colour/convert?colour=%233B82F6', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/colour/convert?colour=%233B82F6', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/design/colour/convert?colour=%233B82F6');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/design/colour/convert?colour=%233B82F6', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/design/colour/convert?colour=%233B82F6
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
colour = #3B82F6
/v1/design/colour/contrastCheck WCAG colour contrast.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
foregroundbackgroundcontrast_ratiowcagaa_normalaa_largeUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/design/colour/contrast?foreground=%23111827&background=%23fff
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
foreground = #111827
background = #fff
/v1/design/gradientGenerate CSS gradients.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
fromtocssUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/design/gradient?from=%233B82F6&to=%2322C55E&direction=90deg
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
from = #3B82F6
to = #22C55E
direction = 90deg
CSV, JSON, XML, YAML and table cleaning utilities.
/v1/data/csv-to-jsonCSV to JSON.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
rowsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/csv-to-json?csv=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/csv-to-json?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/csv-to-json?csv=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/csv-to-json?csv=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/csv-to-json?csv=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/csv-to-json?csv=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
csv = example
/v1/data/json-to-csvJSON to CSV.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
csvUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/json-to-csv?json=%5B%5D"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/json-to-csv?json=%5B%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/json-to-csv?json=%5B%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/json-to-csv?json=%5B%5D');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/json-to-csv?json=%5B%5D', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/json-to-csv?json=%5B%5D
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
json = []
/v1/data/xml-to-jsonXML to JSON.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
jsonerrorUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/xml-to-json?xml=%3Croot%2F%3E
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
xml = <root/>
/v1/data/yaml-to-jsonYAML to JSON scaffold.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readyinputUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/yaml-to-json?input=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/yaml-to-json?input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/yaml-to-json?input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/yaml-to-json?input=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/yaml-to-json?input=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/yaml-to-json?input=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
input = example
/v1/data/flatten-jsonFlatten JSON.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
flattenedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/flatten-json?json=%7B%7D"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/flatten-json?json=%7B%7D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/flatten-json?json=%7B%7D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/flatten-json?json=%7B%7D');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/flatten-json?json=%7B%7D', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/flatten-json?json=%7B%7D
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
json = {}
/v1/data/table-cleanClean table data.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readyinputUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/data/table-clean?input=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/table-clean?input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/data/table-clean?input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/data/table-clean?input=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/data/table-clean?input=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/data/table-clean?input=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
input = example
UUID, hashes, Base64, JSON, JWT, regex and URL tools.
/v1/dev/uuidGenerate UUID v4 values.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
uuidsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/uuid?count=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/uuid?count=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/uuid?count=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/uuid?count=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/uuid?count=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/uuid?count=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
count = 1
/v1/dev/hashHash text.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
erroralgorithmhashUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/hash?algorithm=sha256&text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/hash?algorithm=sha256&text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/hash?algorithm=sha256&text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/hash?algorithm=sha256&text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/hash?algorithm=sha256&text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/hash?algorithm=sha256&text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
algorithm = sha256
text = example
/v1/dev/base64/encodeBase64 encode.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
encodedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/base64/encode?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/base64/encode?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/base64/encode?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/base64/encode?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/base64/encode?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/base64/encode?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/dev/base64/decodeBase64 decode.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
decodedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/base64/decode?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/base64/decode?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/base64/decode?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/base64/decode?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/base64/decode?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/base64/decode?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/dev/json/validateValidate JSON.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validerrorformatteddataUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/json/validate?json=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/json/validate?json=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/json/validate?json=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/json/validate?json=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/json/validate?json=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/json/validate?json=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
json = example
/v1/dev/json/formatFormat JSON.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validerrorformatteddataUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/json/format?json=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/json/format?json=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/json/format?json=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/json/format?json=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/json/format?json=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/json/format?json=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
json = example
/v1/dev/jwt/decodeDecode JWT.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validerrorheaderpayloadUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/jwt/decode?jwt=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/jwt/decode?jwt=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/jwt/decode?jwt=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/jwt/decode?jwt=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/jwt/decode?jwt=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/jwt/decode?jwt=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
jwt = example
/v1/dev/regex/testTest regex.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validmatchedmatchesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/regex/test?pattern=%2F%2F&text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
pattern = //
text = example
/v1/dev/url/parseParse URL.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
partsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/dev/url/parse?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
Plan, test and operate webhook delivery with explicit status, retry and logging contracts.
/v1/webhooks/endpointCreate a test webhook endpoint
The normal response can include the standard ok, endpoint and credits_charged fields plus:
endpoint_idurlnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/webhooks/endpoint"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/endpoint', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/endpoint', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/webhooks/endpoint');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/webhooks/endpoint', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/webhooks/endpoint
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/webhooks/sendSend a webhook payload
The normal response can include the standard ok, endpoint and credits_charged fields plus:
testqueuedurlpayload_sha256noteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/webhooks/send?url=https%3A%2F%2Fexample.com&payload=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
payload = example
/v1/webhooks/logsList webhook logs
The normal response can include the standard ok, endpoint and credits_charged fields plus:
logsnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/webhooks/logs"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/logs', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/logs', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/webhooks/logs');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/webhooks/logs', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/webhooks/logs
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/webhooks/retryRetry a webhook delivery
The normal response can include the standard ok, endpoint and credits_charged fields plus:
retry_queuedwebhook_log_idUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/webhooks/retry?id=0"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/retry?id=0', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/webhooks/retry?id=0', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/webhooks/retry?id=0');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/webhooks/retry?id=0', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/webhooks/retry?id=0
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = 0
MXToolbox-style DNS, mail, SPF, DMARC, RDAP and domain health checks using free DNS/RDAP data sources.
/v1/domain/dnsReturn A, AAAA, MX, TXT, NS, SOA and CAA DNS records.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domaindnsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/dns?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/dns?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/dns?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/dns?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/dns?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/dns?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/mxCheck MX records and whether MX targets resolve.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainmxUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/mx?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/mx?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/mx?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/mx?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/mx?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/mx?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/spfRead and validate SPF TXT record.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainspfUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/spf?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/spf?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/spf?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/spf?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/spf?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/spf?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/dmarcRead and validate _dmarc TXT record.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domaindmarcUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/dmarc?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/dmarc?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/dmarc?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/dmarc?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/dmarc?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/dmarc?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/rdapReturn RDAP registration data where available.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainrdapUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/rdap?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/rdap?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/rdap?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/rdap?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/rdap?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/rdap?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/whoisWHOIS-style response backed by RDAP.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainwhoisnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/whois?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/whois?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/whois?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/whois?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/whois?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/whois?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/healthFull DNS and mail health score.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/health?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/health?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/health?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/health?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/health?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/health?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/domain/fullFull health report plus RDAP data.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
rdapUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain/full?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/full?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain/full?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain/full?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain/full?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain/full?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
Provider-ready document extraction, invoice/receipt helpers and MRZ parsing.
/v1/document/extract-textExtract text from a submitted document
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textcharactersnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/extract-text?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/extract-text?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/extract-text?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/extract-text?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/extract-text?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/extract-text?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/document/extract-tablesExtract table-like rows
The normal response can include the standard ok, endpoint and credits_charged fields plus:
rowsrow_countUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/extract-tables?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/extract-tables?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/extract-tables?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/extract-tables?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/extract-tables?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/extract-tables?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/document/invoice-readRead invoice fields
The normal response can include the standard ok, endpoint and credits_charged fields plus:
document_typereferencetotalconfidenceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/invoice-read?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/invoice-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/invoice-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/invoice-read?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/invoice-read?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/invoice-read?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/document/receipt-readRead receipt fields
The normal response can include the standard ok, endpoint and credits_charged fields plus:
document_typereferencetotalconfidenceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/receipt-read?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/receipt-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/receipt-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/receipt-read?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/receipt-read?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/receipt-read?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/document/passport-mrzParse passport MRZ
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/passport-mrz?mrz=P%3CGBRDOE%3C%3CJANE%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C%3C
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
mrz = P<GBRDOE<<JANE<<<<<<<<<<<<<<<<<<<<<<<<<<
/v1/document/boarding-pass-readParse boarding pass text
The normal response can include the standard ok, endpoint and credits_charged fields plus:
flightrouteconfidenceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/document/boarding-pass-read?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/boarding-pass-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/document/boarding-pass-read?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/document/boarding-pass-read?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/document/boarding-pass-read?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/document/boarding-pass-read?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
Provider-ready PDF generation, invoice documents and PDF operations.
/v1/pdf/from-htmlGenerate PDF from HTML.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/from-html?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
/v1/pdf/invoiceGenerate invoice PDF.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/invoice?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
/v1/pdf/mergeMerge PDFs.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/merge?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
/v1/pdf/splitSplit PDFs.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/split?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
/v1/pdf/watermarkWatermark PDF.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/watermark?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
/v1/pdf/metadataRead PDF metadata.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationengineoutputfilenamepaperorientationremoteprovider_readynotehtmlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/pdf/metadata?html=%3Ch1%3EActoki+Document%3C%2Fh1%3E%3Cp%3EGenerated+by+Actoki+PDF+API.%3C%2Fp%3E&invoice_number=INV-TEST&amount=0.00&engine=example&filename=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <h1>Actoki Document</h1><p>Generated by Actoki PDF API.</p>
invoice_number = INV-TEST
amount = 0.00
engine = example
filename = example
Generate URL, WiFi, vCard, email, SMS and custom QR payloads.
/v1/qr/createCreate generic QR SVG.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/create?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
/v1/qr/wifiCreate WiFi QR.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/wifi?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
/v1/qr/vcardCreate vCard QR.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/vcard?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
/v1/qr/emailCreate email QR.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/email?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
/v1/qr/smsCreate SMS QR.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/sms?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
/v1/qr/urlCreate URL QR.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typedataformatsvgUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/qr/url?data=example&url=https%3A%2F%2Factoki.com&security=WPA
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
data = example
url = https://actoki.com
security = WPA
Email subject scoring, spam words, HTML-to-text and previews.
/v1/email-tools/subject-scoreScore subject line.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
subjectscorewarningsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email-tools/subject-score?subject=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/subject-score?subject=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/subject-score?subject=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-tools/subject-score?subject=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email-tools/subject-score?subject=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email-tools/subject-score?subject=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
subject = example
/v1/email-tools/spam-wordsFind spam words.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
foundUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email-tools/spam-words?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/spam-words?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/spam-words?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-tools/spam-words?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email-tools/spam-words?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email-tools/spam-words?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/email-tools/html-to-textHTML to text.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textsubjectUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email-tools/html-to-text?html=example&subject=Preview
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
subject = Preview
/v1/email-tools/previewPreview email.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textsubjectUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email-tools/preview?html=example&subject=Preview"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/preview?html=example&subject=Preview', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email-tools/preview?html=example&subject=Preview', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email-tools/preview?html=example&subject=Preview');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email-tools/preview?html=example&subject=Preview', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email-tools/preview?html=example&subject=Preview
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
subject = Preview
Invoice validation, VAT helpers, payment terms, late fees and credit notes.
/v1/accounting/invoice-validateInvoice validation
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validmissingUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/invoice-validate?invoice_number=INV-2026-001&date=2026-08-03&seller=Example+Supplier+Ltd&buyer=Example+Customer+Ltd&amount=1250.00
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
invoice_number = INV-2026-001
date = 2026-08-03
seller = Example Supplier Ltd
buyer = Example Customer Ltd
amount = 1250.00
/v1/accounting/vat-calculateVAT calculator
The normal response can include the standard ok, endpoint and credits_charged fields plus:
netvat_ratevatgrossUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/vat-calculate?amount=100&rate=20
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
amount = 100
rate = 20
/v1/accounting/vat-number-formatVAT number format check
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/vat-number-format?vat=GB123456789
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
vat = GB123456789
/v1/accounting/payment-termsPayment due date calculator
The normal response can include the standard ok, endpoint and credits_charged fields plus:
due_dateterms_daysUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/payment-terms?invoice_date=now&days=30
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
invoice_date = now
days = 30
/v1/accounting/late-feeLate fee calculator
The normal response can include the standard ok, endpoint and credits_charged fields plus:
interestdays_lateannual_rateUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/late-fee?days=30&rate=20&amount=100
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
days = 30
rate = 20
amount = 100
/v1/accounting/credit-noteCredit note helper
The normal response can include the standard ok, endpoint and credits_charged fields plus:
credit_note_numberamountstatusUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accounting/credit-note?amount=1000"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/credit-note?amount=1000', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accounting/credit-note?amount=1000', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accounting/credit-note?amount=1000');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accounting/credit-note?amount=1000', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accounting/credit-note?amount=1000
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
amount = 1000
Professional finance calculators for interest, mortgage repayments, overpayments, salary estimates and percentage utilities.
/v1/finance/interestSimple/compound interest and savings growth calculator.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
principalannual_rateyearsmonthly_contributioncompoundcurrencyUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/finance/interest?principal=1000&annual_rate=5&years=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
principal = 1000
annual_rate = 5
years = 1
/v1/finance/mortgageMortgage repayment, total interest and overpayment savings calculator.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
principalannual_rateterm_yearsextra_monthlycurrencyUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/finance/mortgage?principal=250000&annual_rate=5&term_years=25
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
principal = 250000
annual_rate = 5
term_years = 25
/v1/finance/salarySalary take-home estimate with configurable tax, pension and deductions.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
gross_salaryperiodcountrycurrencypersonal_allowancepension_percentstudent_loan_annualother_deductions_annualbasic_ratehigher_rateadditional_rateni_primary_thresholdni_upper_thresholdni_basic_rateni_upper_rateUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/finance/salary?gross_salary=1&gross=35000&period=annual
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
gross_salary = 1
gross = 35000
period = annual
Template helpers for terms, privacy, cookie and clause libraries. Not legal advice.
/v1/legal/clause-libraryClause library
The normal response can include the standard ok, endpoint and credits_charged fields plus:
clausesliability_limitprivacy_contactdisclaimerUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/legal/clause-library"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/clause-library', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/clause-library', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/legal/clause-library');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/legal/clause-library', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/legal/clause-library
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/legal/terms-templateTerms template
The normal response can include the standard ok, endpoint and credits_charged fields plus:
titlecompanysectionsdisclaimerUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/legal/terms-template?company=Your+Company"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/terms-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/terms-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/legal/terms-template?company=Your+Company');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/legal/terms-template?company=Your+Company', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/legal/terms-template?company=Your+Company
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
company = Your Company
/v1/legal/privacy-templatePrivacy template
The normal response can include the standard ok, endpoint and credits_charged fields plus:
titlecompanysectionsdisclaimerUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/legal/privacy-template?company=Your+Company"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/privacy-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/privacy-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/legal/privacy-template?company=Your+Company');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/legal/privacy-template?company=Your+Company', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/legal/privacy-template?company=Your+Company
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
company = Your Company
/v1/legal/cookie-templateCookie template
The normal response can include the standard ok, endpoint and credits_charged fields plus:
titlecompanysectionsdisclaimerUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/legal/cookie-template?company=Your+Company"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/cookie-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/legal/cookie-template?company=Your+Company', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/legal/cookie-template?company=Your+Company');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/legal/cookie-template?company=Your+Company', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/legal/cookie-template?company=Your+Company
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
company = Your Company
Postcode validation, address formatting, distance and geocode-ready endpoints.
/v1/address/postcodeValidate UK postcode.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
postcodevalidformattedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/address/postcode?postcode=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/postcode?postcode=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/postcode?postcode=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/address/postcode?postcode=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/address/postcode?postcode=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/address/postcode?postcode=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
postcode = example
/v1/address/formatFormat address.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readyinputnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/address/format?address=example&query=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/format?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/format?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/address/format?address=example&query=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/address/format?address=example&query=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/address/format?address=example&query=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
address = example
query = example
/v1/address/validateValidate address.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readyinputnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/address/validate?address=example&query=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/validate?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/validate?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/address/validate?address=example&query=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/address/validate?address=example&query=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/address/validate?address=example&query=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
address = example
query = example
/v1/address/distanceDistance between coordinates.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
kilometresmilesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/address/distance?lat1=0&lon1=0&lat2=0
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
lat1 = 0
lon1 = 0
lat2 = 0
/v1/address/geocodeGeocode address.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readyinputnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/address/geocode?address=example&query=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/geocode?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/address/geocode?address=example&query=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/address/geocode?address=example&query=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/address/geocode?address=example&query=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/address/geocode?address=example&query=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
address = example
query = example
Calculate distances, bounding boxes and coordinate relationships for location-aware products.
/v1/geo/distanceDistance between coordinates
The normal response can include the standard ok, endpoint and credits_charged fields plus:
distance_kmUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/geo/distance?lat1=51.5074&lng1=-0.1278&lat2=1&lng2=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
lat1 = 51.5074
lng1 = -0.1278
lat2 = 1
lng2 = 1
/v1/geo/bounding-boxCreate bounding box around a point
The normal response can include the standard ok, endpoint and credits_charged fields plus:
bboxUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/geo/bounding-box?lat=51.5074&lng=-0.1278&radius_km=10
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
lat = 51.5074
lng = -0.1278
radius_km = 10
/v1/geo/point-in-boxCheck if point is inside bbox
The normal response can include the standard ok, endpoint and credits_charged fields plus:
insideUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/geo/point-in-box?lat=51.5074&lng=-0.1278&bbox=-180%2C-90%2C180%2C90
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
lat = 51.5074
lng = -0.1278
bbox = -180,-90,180,90
/v1/geo/geohashGeohash encode
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/geo/geohash"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/geohash', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/geohash', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/geo/geohash');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/geo/geohash', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/geo/geohash
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/geo/reverse-geohashGeohash decode
The normal response can include the standard ok, endpoint and credits_charged fields plus:
provider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/geo/reverse-geohash"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/reverse-geohash', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/geo/reverse-geohash', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/geo/reverse-geohash');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/geo/reverse-geohash', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/geo/reverse-geohash
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
PMTiles, MapLibre styles, regional map permissions, short-lived map tokens and map usage reporting.
/v1/maps/catalogReturn the map regions available to the account.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
catalogUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/maps/catalog"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/catalog', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/catalog', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/catalog');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/maps/catalog', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/maps/catalog
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/maps/stylesReturn available map styles.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
stylesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/maps/styles"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/styles', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/styles', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/styles');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/maps/styles', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/maps/styles
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/maps/styleReturn a MapLibre style JSON document.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/maps/style?region=uk&style=actoki-light&labels=on
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
region = uk
style = actoki-light
labels = on
/v1/maps/tokenCreate a short-lived map token.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"region": "uk",
"style": "actoki-light",
"labels": "on"
}' \
"https://actoki.com/v1/maps/token"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/token', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "uk",
"style": "actoki-light",
"labels": "on"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/token', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "uk",
"style": "actoki-light",
"labels": "on"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/token');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'region' => 'uk',
'style' => 'actoki-light',
'labels' => 'on',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"region": "uk",
"style": "actoki-light",
"labels": "on"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/maps/token', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/maps/token
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"region": "uk",
"style": "actoki-light",
"labels": "on"
}
/v1/maps/plotBuild a map style with pins, curved routes and boundaries.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"region": "uk",
"style": "actoki-light",
"labels": "on"
}' \
"https://actoki.com/v1/maps/plot"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/plot', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "uk",
"style": "actoki-light",
"labels": "on"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/plot', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "uk",
"style": "actoki-light",
"labels": "on"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/plot');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'region' => 'uk',
'style' => 'actoki-light',
'labels' => 'on',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"region": "uk",
"style": "actoki-light",
"labels": "on"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/maps/plot', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/maps/plot
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"region": "uk",
"style": "actoki-light",
"labels": "on"
}
/v1/maps/embedsList protected embeds or create a map with automatically generated credentials.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
erroridnameactiveallowed_originsmobile_appsregionstylelabelscenterzoominitialminmaxcontrolspanrotationfullscreencredentialslast_fourcreated_atrotated_atupdated_atembedsmessageidempotency_keycenter_latcenter_lngregion_keystyle_keyUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/maps/embeds?name=London+office&allowed_origins=%5B%22https%3A%2F%2Fwww.example.com%22%5D&mobile_apps=%5B%22ios%3Acom.example.app%22%2C%22android%3Acom.example.app%22%5D
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = London office
allowed_origins = ["https://www.example.com"]
mobile_apps = ["ios:com.example.app","android:com.example.app"]
/v1/maps/mobile-sessionsCreate a one-time native mobile WebView map session. Authentication is metered for abuse controls, but credits are charged only after successful map activation.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcredits_consumedbillingsessionmessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp"
}' \
"https://actoki.com/v1/maps/mobile-sessions"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/mobile-sessions', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/mobile-sessions', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/mobile-sessions');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'map_id' => 'me_example123',
'platform' => 'ios',
'application_id' => 'com.example.travelapp',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/maps/mobile-sessions', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/maps/mobile-sessions
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"map_id": "me_example123",
"platform": "ios",
"application_id": "com.example.travelapp"
}
/v1/maps/usageRecord or read map usage events.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/maps/usage"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/usage', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/maps/usage', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/maps/usage');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/maps/usage', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/maps/usage
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Name checks, slug options, domain suggestions and tagline scoring.
/v1/brand/name-checkBrand name check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
namesluglength_okUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/brand/name-check?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/name-check?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/name-check?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/brand/name-check?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/brand/name-check?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/brand/name-check?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
/v1/brand/slug-optionsSlug options
The normal response can include the standard ok, endpoint and credits_charged fields plus:
slugsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/brand/slug-options?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/slug-options?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/slug-options?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/brand/slug-options?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/brand/slug-options?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/brand/slug-options?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
/v1/brand/domain-suggestionsDomain suggestions
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/brand/domain-suggestions?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/domain-suggestions?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/domain-suggestions?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/brand/domain-suggestions?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/brand/domain-suggestions?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/brand/domain-suggestions?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
/v1/brand/tagline-scoreTagline score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
lengthscorenoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/brand/tagline-score?tagline=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/tagline-score?tagline=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/tagline-score?tagline=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/brand/tagline-score?tagline=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/brand/tagline-score?tagline=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/brand/tagline-score?tagline=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
tagline = example
/v1/brand/social-handle-formatSocial handle formatter
The normal response can include the standard ok, endpoint and credits_charged fields plus:
handleUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/brand/social-handle-format?name=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/social-handle-format?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/brand/social-handle-format?name=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/brand/social-handle-format?name=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/brand/social-handle-format?name=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/brand/social-handle-format?name=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
name = example
SEO page checks, metadata, headings, links, schema, sitemap and robots.
/v1/seo/pageBasic page SEO audit.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/page?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/metaCheck meta tags.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/meta?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/headingsCheck headings.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/headings?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/linksExtract links.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/links?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/schemaCheck schema.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/schema?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/sitemapCheck sitemap.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/sitemap?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/seo/robotsCheck robots.txt.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/seo/robots?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
Create image placeholders, inspect metadata and derive useful visual properties for application workflows.
/v1/image/resizeResize image.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/resize"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/resize', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/resize', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/resize');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/resize', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/resize
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/image/compressCompress image.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/compress"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/compress', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/compress', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/compress');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/compress', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/compress
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/image/convertConvert image.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/convert"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/convert', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/convert', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/convert');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/convert', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/convert
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/image/metadataRead image metadata.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/metadata"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/metadata', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/metadata', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/metadata');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/metadata', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/metadata
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/image/strip-metadataStrip metadata.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/strip-metadata"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/strip-metadata', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/strip-metadata', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/strip-metadata');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/strip-metadata', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/strip-metadata
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/image/placeholderGenerate placeholder.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlwidthheightUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/placeholder?width=1200&height=630"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/placeholder?width=1200&height=630', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/placeholder?width=1200&height=630', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/placeholder?width=1200&height=630');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/placeholder?width=1200&height=630', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/placeholder?width=1200&height=630
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
width = 1200
height = 630
/v1/image/dominant-coloursDominant colours.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/image/dominant-colours?colour=%233B82F6&count=5
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
colour = #3B82F6
count = 5
Create and manage scheduled checks with clear delivery and operational status.
/v1/alerts/createCreate a scheduled alert
The normal response can include the standard ok, endpoint and credits_charged fields plus:
statusalert_idoperationnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/alerts/create"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/create', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/create', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/alerts/create');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/alerts/create', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/alerts/create
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/alerts/listList scheduled alerts
The normal response can include the standard ok, endpoint and credits_charged fields plus:
statusalert_idoperationnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/alerts/list"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/list', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/list', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/alerts/list');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/alerts/list', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/alerts/list
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/alerts/deleteDelete scheduled alert
The normal response can include the standard ok, endpoint and credits_charged fields plus:
statusalert_idoperationnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/alerts/delete"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/delete', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/delete', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/alerts/delete');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/alerts/delete', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/alerts/delete
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/alerts/testTest alert notification
The normal response can include the standard ok, endpoint and credits_charged fields plus:
statusalert_idoperationnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/alerts/test"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/test', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/alerts/test', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/alerts/test');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/alerts/test', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/alerts/test
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
HTTP, SSL, DNS, domain expiry and basic page speed checks.
/v1/monitor/httpHTTP status and response time.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/monitor/http?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
/v1/monitor/sslTLS certificate check: validity, expiry, hostname match, issuer, chain and protocol.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorhintmessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/monitor/ssl?host=example&domain=example.com&url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
host = example
domain = example.com
url = https://example.com
/v1/monitor/ssl-batchCheck TLS certificates for up to 25 hosts in one call (charged per host).
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorhintmaxhostreachablecountsummaryvalidinvalidunreachableexpiring_within_30_daysresultsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"hosts": "example",
"timeout": "example",
"port": "example"
}' \
"https://actoki.com/v1/monitor/ssl-batch"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/ssl-batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"hosts": "example",
"timeout": "example",
"port": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/ssl-batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"hosts": "example",
"timeout": "example",
"port": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/ssl-batch');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'hosts' => 'example',
'timeout' => 'example',
'port' => 'example',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"hosts": "example",
"timeout": "example",
"port": "example"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/monitor/ssl-batch', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/monitor/ssl-batch
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"hosts": "example",
"timeout": "example",
"port": "example"
}
/v1/monitor/dnsDNS check.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainrecordsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/monitor/dns?domain=actoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/dns?domain=actoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/dns?domain=actoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/dns?domain=actoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/monitor/dns?domain=actoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/monitor/dns?domain=actoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = actoki.com
/v1/monitor/domain-expiryDomain expiry check.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/monitor/domain-expiry?domain=actoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = actoki.com
/v1/monitor/page-speed-basicBasic page speed timing.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/monitor/page-speed-basic?url=https%3A%2F%2Factoki.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://actoki.com
Scan emails, support messages and logs for PII, secrets and risky data.
/v1/privacy/email-scanEmail privacy scanner
The normal response can include the standard ok, endpoint and credits_charged fields plus:
piisecretssafe_to_storeUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com."
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com.');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com.', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/privacy/email-scan?text=Please+contact+jane%40example.com.
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = Please contact jane@example.com.
/v1/privacy/support-message-scanSupport message scanner
The normal response can include the standard ok, endpoint and credits_charged fields plus:
piisecretssafe_to_storeUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here."
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here.', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here.');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here.', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/privacy/support-message-scan?text=My+API+key+is+hidden+here.
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = My API key is hidden here.
/v1/privacy/log-redactLog redaction
The normal response can include the standard ok, endpoint and credits_charged fields plus:
redactedUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/privacy/log-redact?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/log-redact?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/privacy/log-redact?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/privacy/log-redact?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/privacy/log-redact?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/privacy/log-redact?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
Flags disposable, banned and high-risk domains and email addresses at registration or opt-in time.
/v1/domain-guard/checkCheck one email address or domain for disposable/banned status.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okaccount_idendpointcredits_chargedinputdomainis_emailverdictscorereasonsmxerrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain-guard/check?value=user%40example.com&email=user%40example.com&domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = user@example.com
email = user@example.com
domain = example.com
/v1/domain-guard/batchCheck up to 100 values in one call (charged per value).
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okaccount_idendpointcountcredits_chargedsummaryblockedflaggedallowedresultsvaluedomainverdictscorereasonserrorUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"values": [
"user@example.com",
"example.org"
],
"mx": "true"
}' \
"https://actoki.com/v1/domain-guard/batch"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"values": [
"user@example.com",
"example.org"
],
"mx": "true"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/batch', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"values": [
"user@example.com",
"example.org"
],
"mx": "true"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain-guard/batch');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'values' =>
array (
0 => 'user@example.com',
1 => 'example.org',
),
'mx' => 'true',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"values": [
"user@example.com",
"example.org"
],
"mx": "True"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/domain-guard/batch', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/domain-guard/batch
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"values": [
"user@example.com",
"example.org"
],
"mx": "true"
}
/v1/domain-guard/statusCredential and quota status; free of charge.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okaccount_idendpointcredits_chargedperiodusageby_domainauthenticationtypeheaderrecommended_scopenotecredentialsclient_iddomain_patternlabelactivelast_used_atdeprecatedexpires_atmigrated_api_key_idUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/domain-guard/status"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/status', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/domain-guard/status', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/domain-guard/status');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/domain-guard/status', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/domain-guard/status
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Combine explainable signals into lightweight risk assessments for sign-up, order and account workflows.
/v1/risk/emailEmail risk score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
risk_scorerisk_levelsignalsdomainUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/risk/email?email=user%40example.com&domain=example.com&ip=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
email = user@example.com
domain = example.com
ip = example
/v1/risk/ipIP risk score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
risk_scorerisk_levelsignalsdomainUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/risk/ip?email=user%40example.com&domain=example.com&ip=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
email = user@example.com
domain = example.com
ip = example
/v1/risk/signupSignup risk score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
risk_scorerisk_levelsignalsdomainUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/risk/signup?email=user%40example.com&domain=example.com&ip=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
email = user@example.com
domain = example.com
ip = example
/v1/risk/orderOrder risk score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
risk_scorerisk_levelsignalsdomainUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/risk/order?email=user%40example.com&domain=example.com&ip=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
email = user@example.com
domain = example.com
ip = example
Hosted authentication, passkeys, email passwordless sign-in, social/enterprise federation, OpenID Connect, SAML, Forward Auth, LDAP/Active Directory, super-admin provider availability controls, users, sessions and audit events.
/v1/identity/appsManage OpenID Connect applications.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okapplicationsapplicationidclient_idclient_secretclient_secret_last_fourcredential_idcredentialsissuerintegration_typeapplication_typeredirect_urispost_logout_redirect_urisallowed_scopesresource_idresource_audienceservice_account_idstatusprevious_credentials_valid_for_secondserrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/apps?id=ia_example&action=rotate_secret&credential_id=icr_example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = ia_example
action = rotate_secret
credential_id = icr_example
/v1/identity/resourcesManage OAuth API resources, audiences and introspection credentials.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okresourcesresourceidnameaudienceallowed_scopestoken_ttl_secondsintrospection_client_idintrospection_secretintrospection_secret_last_fourcredential_idcredentialsstatusprevious_credentials_valid_for_secondserrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/resources?id=ir_example&action=rotate_introspection_secret&credential_id=irc_example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = ir_example
action = rotate_introspection_secret
credential_id = irc_example
/v1/identity/exportExport portable Identity users, application metadata and provider mappings without reusable secrets.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okexporttenantusersapplicationsprovidersapi_resourcesservice_accountsgenerated_aterrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/export"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/export', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/export', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/export');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/export', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/export
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/identity/usersManage application users.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okusersuserpublic_iduser_idemailnamestatusemail_verified_atlast_login_atcreated_atupdated_atinvitation_sentexpires_in_dayserrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/users?limit=100&id=iu_example&email=person%40example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
limit = 100
id = iu_example
email = person@example.com
/v1/identity/invitationsCreate, resend or revoke hosted-login invitations.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okinvitationsinvitationiduser_idemailnameexpires_ataccepted_atrevoked_atcreated_atsentoriginal_link_preservederrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/invitations?id=123&action=resend&email=person%40example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = 123
action = resend
email = person@example.com
/v1/identity/sessionsList and revoke hosted identity sessions.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
oksessionsiduser_idauth_methodcreated_atlast_seen_atexpires_atrevoked_aterrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/sessions?limit=100&id=is_example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/sessions?limit=100&id=is_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/sessions?limit=100&id=is_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/sessions?limit=100&id=is_example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/sessions?limit=100&id=is_example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/sessions?limit=100&id=is_example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
limit = 100
id = is_example
/v1/identity/eventsRead authentication and security events.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okeventsevent_typeoutcomeuser_idapplication_idcreated_atmetadataerrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/events?limit=100"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/events?limit=100', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/events?limit=100', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/events?limit=100');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/events?limit=100', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/events?limit=100
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
limit = 100
/v1/identity/domainsPrepare and verify custom hosted-login domains.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okdomainsdomainidhostnamestatusverification_nameverification_valueverified_atcreated_atupdated_aterrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/domains?id=12&action=verify&hostname=login.example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = 12
action = verify
hostname = login.example.com
/v1/identity/forward-authManage reverse-proxy Forward Auth policies and proxy secrets.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okpoliciespolicyidnamecheck_urlallowed_hostsallowed_path_prefixessession_ttl_secondsproxy_secretproxy_secret_last_fourcredential_idcredentialsstatusprevious_credentials_valid_for_secondserrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/forward-auth?id=ifa_example&action=rotate_secret&credential_id=ifc_example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = ifa_example
action = rotate_secret
credential_id = ifc_example
/v1/identity/directoriesManage LDAP and Active Directory upstream identity connections.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okconnectionsconnectionidnameproviderhostporttls_modebase_dnbind_dnbind_password_configureduser_filteremail_attributename_attributesubject_attributegroup_attributerequired_group_dnprioritynetwork_timeout_secondsstatuscreated_atupdated_aterrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/directories?id=idc_example&provider=ldap&name=Corporate+Directory
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = idc_example
provider = ldap
name = Corporate Directory
/v1/identity/policyManage passkey, email-code, magic-link, WhatsApp OTP and passwordless-only authentication policy.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okpolicypasskey_enabledpassword_enabledemail_otp_enabledemail_magic_link_enabledwhatsapp_otp_enabledwhatsapp_otp_configuredwhatsapp_provider_availablepasswordless_onlyauto_provision_federatederrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/policy?passkey_enabled=true&password_enabled=true&email_otp_enabled=true
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
passkey_enabled = true
password_enabled = true
email_otp_enabled = true
/v1/identity/providersManage Google, Apple, Microsoft, GitHub, Facebook, Instagram, X, TikTok, external OIDC and SAML upstream identity providers.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okconnectionsconnectionidprovidernamestatusclient_idsecret_configureddiscovery_urlscopesconfigcallback_urlsaml_acs_urlsaml_metadata_urlcreated_atupdated_aterrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/providers?id=ifc_example&provider=google&name=Google
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
id = ifc_example
provider = google
name = Google
/v1/identity/whatsappConfigure WhatsApp Cloud API authentication-code delivery for hosted Identity.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
okwhatsapptenant_idavailablestatuseffective_statusphone_number_idaccess_token_configuredgraph_versiontemplate_namelanguage_codeerrormessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/identity/whatsapp?enabled=false&phone_number_id=123456789012345&access_token=%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
enabled = false
phone_number_id = 123456789012345
access_token = ••••••••
Security header checks, TLS basics and secret/API key scanning.
/v1/security/headersHTTP security headers
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readyheaders_to_checkUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/headers?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/security/csp-checkCSP check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readyheaders_to_checkUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/csp-check?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/security/hsts-checkHSTS check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readyheaders_to_checkUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/hsts-check?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/security/cookie-flagsCookie flags check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readyheaders_to_checkUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/cookie-flags?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/security/tls-basicTLS certificate basics
The normal response can include the standard ok, endpoint and credits_charged fields plus:
hosterrorUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/tls-basic?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/security/secrets-scanSecret scanner
The normal response can include the standard ok, endpoint and credits_charged fields plus:
api_keyprivate_keyjwthas_secretsmatchesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/secrets-scan?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/secrets-scan?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/secrets-scan?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/secrets-scan?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/secrets-scan?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/secrets-scan?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/security/api-key-detectAPI key detector
The normal response can include the standard ok, endpoint and credits_charged fields plus:
api_keyprivate_keyjwthas_secretsmatchesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/api-key-detect?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/api-key-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/api-key-detect?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/api-key-detect?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/api-key-detect?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/api-key-detect?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/security/env-checkENV file safety check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
api_keyprivate_keyjwthas_secretsmatchesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/security/env-check?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/env-check?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/security/env-check?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/security/env-check?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/security/env-check?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/security/env-check?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
Example drop-in service for VAT validation and calculations.
/v1/vat/checkExample VAT number format check.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
vatformat_validmessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/vat/check?vat=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/vat/check?vat=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/vat/check?vat=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/vat/check?vat=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/vat/check?vat=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/vat/check?vat=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
vat = example
/v1/vat/calculateExample VAT calculation endpoint.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
netratevatgrossUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/vat/calculate?net=example&rate=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/vat/calculate?net=example&rate=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/vat/calculate?net=example&rate=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/vat/calculate?net=example&rate=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/vat/calculate?net=example&rate=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/vat/calculate?net=example&rate=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
net = example
rate = example
Clean, structured travel advice sourced from official government publications, normalised into plain text for applications and customer journeys.
/v1/travel-advice/countryReturn comprehensive official travel advice for a destination as clean plain text.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel-advice/country?provider=uk_fcdo&destination=france&country=france
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
provider = uk_fcdo
destination = france
country = france
/v1/travel-advice/summaryReturn a concise destination summary, warning status and latest update.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageproviderdestinationadvisoryupdated_atsource_urldisclaimercacheUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel-advice/summary?provider=uk_fcdo&destination=france&country=france
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
provider = uk_fcdo
destination = france
country = france
/v1/travel-advice/sourcesList official providers, coverage and current integration status.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorcodemessageUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel-advice/sources"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel-advice/sources', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel-advice/sources');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel-advice/sources', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel-advice/sources
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Travel utility rules for airports, documents, time zones and trip planning.
/v1/travel/baggage-basicAirline baggage-rules integration contract
The normal response can include the standard ok, endpoint and credits_charged fields plus:
notecarry_onchecked_bagUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/baggage-basic"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/baggage-basic', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/baggage-basic', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/baggage-basic');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/baggage-basic', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/baggage-basic
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/travel/airport-min-connect-timeMinimum connection time helper
The normal response can include the standard ok, endpoint and credits_charged fields plus:
airportdomestic_minutesinternational_minutesnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/airport-min-connect-time?airport=LHR
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
airport = LHR
/v1/travel/flight-duration-estimateFlight duration estimate
The normal response can include the standard ok, endpoint and credits_charged fields plus:
distance_kmestimated_hoursUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/flight-duration-estimate?distance_km=0&from=LHR&to=JFK
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
distance_km = 0
from = LHR
to = JFK
/v1/travel/country-documents-basicBasic country document guidance
The normal response can include the standard ok, endpoint and credits_charged fields plus:
countrypassport_requiredvisa_noteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/country-documents-basic?country=US"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/country-documents-basic?country=US', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/country-documents-basic?country=US', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/country-documents-basic?country=US');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/country-documents-basic?country=US', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/country-documents-basic?country=US
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
country = US
/v1/travel/holiday-calendarPublic holiday calendar
The normal response can include the standard ok, endpoint and credits_charged fields plus:
providercountryyearnoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/holiday-calendar?country=GB&year=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
country = GB
year = 1
/v1/travel/time-at-destinationDestination local time
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/time-at-destination?timezone=Europe%2FLondon
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
timezone = Europe/London
/v1/travel/jetlag-windowJetlag planning helper
The normal response can include the standard ok, endpoint and credits_charged fields plus:
timezone_difference_hoursadjustment_daysadviceUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/jetlag-window?timezone_difference_hours=5
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
timezone_difference_hours = 5
Resolve practical airport, country, currency, dial-code and time-zone information for travel applications.
/v1/travel/airportAirport code lookup
The normal response can include the standard ok, endpoint and credits_charged fields plus:
LHRnamecitycountrylatlngLGWJFKDXBcodeairportUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/airport?code=LHR"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport?code=LHR', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport?code=LHR', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/airport?code=LHR');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/airport?code=LHR', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/airport?code=LHR
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
code = LHR
/v1/travel/airport-distanceDistance between airports
The normal response can include the standard ok, endpoint and credits_charged fields plus:
fromtodistance_kmUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/airport-distance?from=LHR&to=JFK&code=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
from = LHR
to = JFK
code = example
/v1/travel/timezoneTravel timezone lookup
The normal response can include the standard ok, endpoint and credits_charged fields plus:
timezonenowUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/timezone?timezone=Europe%2FLondon
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
timezone = Europe/London
/v1/travel/countryCountry information
The normal response can include the standard ok, endpoint and credits_charged fields plus:
GBnamecurrencydial_codeUSAEcodecountryUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/country?code=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/country?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/country?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/country?code=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/country?code=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/country?code=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
code = GB
/v1/travel/visa-basicVisa guidance integration contract
The normal response can include the standard ok, endpoint and credits_charged fields plus:
noteresultUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/visa-basic"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/visa-basic', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/visa-basic', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/visa-basic');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/visa-basic', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/visa-basic
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
/v1/travel/dial-codeCountry dial code
The normal response can include the standard ok, endpoint and credits_charged fields plus:
valuecountryUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/dial-code?code=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/dial-code?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/dial-code?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/dial-code?code=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/dial-code?code=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/dial-code?code=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
code = GB
/v1/travel/currencyCountry currency
The normal response can include the standard ok, endpoint and credits_charged fields plus:
valuecountryUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/travel/currency?code=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/currency?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/travel/currency?code=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/travel/currency?code=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/travel/currency?code=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/travel/currency?code=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
code = GB
Unit, temperature, file size, timezone and currency conversions.
/v1/convert/unitConvert common measurement units.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/unit?value=1&from=m&to=km"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/unit?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/unit?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/unit?value=1&from=m&to=km');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/unit?value=1&from=m&to=km', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/unit?value=1&from=m&to=km
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = 1
from = m
to = km
/v1/convert/batchBatch unit conversion.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
itemsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/batch?items=%5B%5D"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/batch?items=%5B%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/batch?items=%5B%5D', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/batch?items=%5B%5D');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/batch?items=%5B%5D', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/batch?items=%5B%5D
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
items = []
/v1/convert/currencyConvert currencies using a configured, timestamped rate source.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
warningresultratefromtoUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/currency?value=1&from=GBP&to=GBP
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = 1
from = GBP
to = GBP
/v1/convert/timezoneConvert a time between time zones.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
timeerrorUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/timezone?time=now&from=UTC&to=Europe%2FLondon
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
time = now
from = UTC
to = Europe/London
/v1/convert/temperatureTemperature conversion.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/temperature?value=1&from=m&to=km"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/temperature?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/temperature?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/temperature?value=1&from=m&to=km');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/temperature?value=1&from=m&to=km', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/temperature?value=1&from=m&to=km
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = 1
from = m
to = km
/v1/convert/file-sizeDigital storage conversion.
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/convert/file-size?value=1&from=m&to=km"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/file-size?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/convert/file-size?value=1&from=m&to=km', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/convert/file-size?value=1&from=m&to=km');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/convert/file-size?value=1&from=m&to=km', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/convert/file-size?value=1&from=m&to=km
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = 1
from = m
to = km
Password generation, percentage calculations and small utility APIs.
/v1/password1Password-style password generator: random passwords, memorable word passwords and numeric PINs.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
typeUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/password?words=4&separator=-&capitalize=true&min_numbers=1&min_symbols=1
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
words = 4
separator = -
capitalize = true
min_numbers = 1
min_symbols = 1
/v1/percentagePercentage calculator endpoint.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
resultUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/percentage?value=example&percent=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/percentage?value=example&percent=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/percentage?value=example&percent=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/percentage?value=example&percent=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/percentage?value=example&percent=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/percentage?value=example&percent=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
value = example
percent = example
Slugify, case conversion, counts, extraction, de-duplication, diff and lorem ipsum.
/v1/text/slugifyCreate slug.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
slugUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/slugify?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/slugify?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/slugify?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/slugify?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/slugify?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/slugify?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/text/caseConvert case.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/case?text=example&case=title"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/case?text=example&case=title', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/case?text=example&case=title', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/case?text=example&case=title');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/case?text=example&case=title', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/case?text=example&case=title
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
case = title
/v1/text/countCount text.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
characterswordslinesUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/count?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/count?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/count?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/count?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/count?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/count?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/text/extract-emailsExtract emails.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
itemsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/extract-emails?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/extract-emails?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/extract-emails?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/extract-emails?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/extract-emails?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/extract-emails?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/text/extract-phonesExtract phones.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
itemsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/extract-phones?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/extract-phones?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/extract-phones?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/extract-phones?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/extract-phones?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/extract-phones?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/text/remove-duplicatesRemove duplicates.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/remove-duplicates?text=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/remove-duplicates?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/remove-duplicates?text=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/remove-duplicates?text=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/remove-duplicates?text=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/remove-duplicates?text=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
text = example
/v1/text/diffSimple diff summary.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
changedold_lengthnew_lengthUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/diff?old=example&new=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/diff?old=example&new=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/diff?old=example&new=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/diff?old=example&new=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/diff?old=example&new=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/diff?old=example&new=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
old = example
new = example
/v1/text/loremGenerate lorem ipsum.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
textUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/text/lorem?words=50"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/lorem?words=50', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/text/lorem?words=50', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/text/lorem?words=50');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/text/lorem?words=50', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/text/lorem?words=50
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
words = 50
Parse and validate common identity-document formats without exposing permanent credentials to the browser.
/v1/id/mrz-parseParse MRZ text
The normal response can include the standard ok, endpoint and credits_charged fields plus:
valid_formatrawUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/id/mrz-parse?mrz=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/mrz-parse?mrz=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/mrz-parse?mrz=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/id/mrz-parse?mrz=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/id/mrz-parse?mrz=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/id/mrz-parse?mrz=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
mrz = example
/v1/id/passport-mrzPassport MRZ helper
The normal response can include the standard ok, endpoint and credits_charged fields plus:
valid_formatrawUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/id/passport-mrz?mrz=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/passport-mrz?mrz=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/passport-mrz?mrz=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/id/passport-mrz?mrz=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/id/passport-mrz?mrz=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/id/passport-mrz?mrz=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
mrz = example
/v1/id/ibanIBAN format check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
ibanvalid_formatUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/id/iban?iban=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/iban?iban=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/iban?iban=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/id/iban?iban=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/id/iban?iban=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/id/iban?iban=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
iban = example
/v1/id/ni-number-formatUK NI number format check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
nivalid_formatUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/id/ni-number-format?ni=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/ni-number-format?ni=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/ni-number-format?ni=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/id/ni-number-format?ni=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/id/ni-number-format?ni=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/id/ni-number-format?ni=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
ni = example
/v1/id/vat-formatVAT number format check
The normal response can include the standard ok, endpoint and credits_charged fields plus:
vatvalid_formatUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/id/vat-format?vat=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/vat-format?vat=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/id/vat-format?vat=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/id/vat-format?vat=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/id/vat-format?vat=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/id/vat-format?vat=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
vat = example
Validate, format and interpret international phone numbers for cleaner customer data.
/v1/phone/validateValidate phone number
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/phone/validate?phone=%2B442079460000&country=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
phone = +442079460000
country = GB
/v1/phone/formatFormat phone number
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/phone/format?phone=%2B442079460000&country=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
phone = +442079460000
country = GB
/v1/phone/countryDetect phone country from prefix
The normal response can include the standard ok, endpoint and credits_charged fields plus:
operationUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/phone/country?phone=%2B442079460000&country=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
phone = +442079460000
country = GB
Validate common form inputs with predictable JSON responses and field-level results.
/v1/validate/emailValidate email format
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/email?email=user%40example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/email?email=user%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/email?email=user%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/email?email=user%40example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/email?email=user%40example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/email?email=user%40example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
email = user@example.com
/v1/validate/phoneValidate phone format
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/phone?phone=%2B442079460000&country=GB
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
phone = +442079460000
country = GB
/v1/validate/urlValidate URL
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/url?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/validate/domainValidate domain and DNS
The normal response can include the standard ok, endpoint and credits_charged fields plus:
domainvalidhas_dnsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/domain?domain=example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/domain?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/domain?domain=example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/domain?domain=example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/domain?domain=example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/domain?domain=example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
domain = example.com
/v1/validate/postcodeValidate UK postcode
The normal response can include the standard ok, endpoint and credits_charged fields plus:
validcountryUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/postcode?postcode=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/postcode?postcode=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/postcode?postcode=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/postcode?postcode=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/postcode?postcode=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/postcode?postcode=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
postcode = example
/v1/validate/password-strengthPassword strength score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
scorestrengthUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/password-strength?password=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/password-strength?password=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/password-strength?password=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/password-strength?password=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/password-strength?password=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/password-strength?password=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
password = example
/v1/validate/vatVAT format check
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/vat?vat=GB123456789"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/vat?vat=GB123456789', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/vat?vat=GB123456789', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/vat?vat=GB123456789');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/vat?vat=GB123456789', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/vat?vat=GB123456789
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
vat = GB123456789
/v1/validate/ibanIBAN format check
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
iban = GB82 WEST 1234 5698 7654 32
Single and bulk email verification, suppression checks, disposable-domain checks and SMTP risk scoring.
/v1/email/checkFull email verification. SMTP mode has a 22-unit minimum (2.2p).
The normal response can include the standard ok, endpoint and credits_charged fields plus:
resultUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email/check?smtp=example&email=user%40example.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/check?smtp=example&email=user%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/check?smtp=example&email=user%40example.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email/check?smtp=example&email=user%40example.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email/check?smtp=example&email=user%40example.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email/check?smtp=example&email=user%40example.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
smtp = example
email = user@example.com
/v1/email/bulkCreate a bulk email verification job.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorjob_idtotalsmtpUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--request POST \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"emails": "user@example.com",
"smtp": "example"
}' \
"https://actoki.com/v1/email/bulk"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/bulk', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"emails": "user@example.com",
"smtp": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/bulk', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"emails": "user@example.com",
"smtp": "example"
}),
});
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email/bulk');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(array (
'emails' => 'user@example.com',
'smtp' => 'example',
), JSON_THROW_ON_ERROR),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
payload = {
"emails": "user@example.com",
"smtp": "example"
}
headers['Content-Type'] = 'application/json'
response = requests.post('https://actoki.com/v1/email/bulk', headers=headers, json=payload, timeout=20)
response.raise_for_status()
print(response.json())
Method: POST
URL: https://actoki.com/v1/email/bulk
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Content-Type: application/json
JSON body:
{
"emails": "user@example.com",
"smtp": "example"
}
/v1/email/bulk-statusRead a bulk email verification job status.
The normal response can include the standard ok, endpoint and credits_charged fields plus:
errorjobUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/email/bulk-status?job_id=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/bulk-status?job_id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/email/bulk-status?job_id=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/email/bulk-status?job_id=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/email/bulk-status?job_id=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/email/bulk-status?job_id=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
job_id = example
Current conditions, forecasts, travel windows and climate averages through a configured weather provider.
/v1/weather/currentCurrent weather conditions
The normal response can include the standard ok, endpoint and credits_charged fields plus:
locationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/weather/current?location=London"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/current?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/current?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/weather/current?location=London');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/weather/current?location=London', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/weather/current?location=London
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
location = London
/v1/weather/forecastWeather forecast
The normal response can include the standard ok, endpoint and credits_charged fields plus:
locationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/weather/forecast?location=London"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/forecast?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/forecast?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/weather/forecast?location=London');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/weather/forecast?location=London', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/weather/forecast?location=London
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
location = London
/v1/weather/travel-windowTravel weather window
The normal response can include the standard ok, endpoint and credits_charged fields plus:
locationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/weather/travel-window?location=London"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/travel-window?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/travel-window?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/weather/travel-window?location=London');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/weather/travel-window?location=London', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/weather/travel-window?location=London
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
location = London
/v1/weather/climate-averageClimate averages for a location
The normal response can include the standard ok, endpoint and credits_charged fields plus:
locationprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/weather/climate-average?location=London"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/climate-average?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/weather/climate-average?location=London', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/weather/climate-average?location=London');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/weather/climate-average?location=London', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/weather/climate-average?location=London
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
location = London
Basic accessibility, contrast, heading, forms and alt text checks.
/v1/accessibility/pagePage accessibility audit
The normal response can include the standard ok, endpoint and credits_charged fields plus:
alt_textheadingsformsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accessibility/page?html=%3Cmain%3E%3Ch1%3EExample%3C%2Fh1%3E%3Cimg+src%3D%22photo.jpg%22+alt%3D%22%22%3E%3C%2Fmain%3E
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = <main><h1>Example</h1><img src="photo.jpg" alt=""></main>
/v1/accessibility/contrastColour contrast checker
The normal response can include the standard ok, endpoint and credits_charged fields plus:
foregroundbackgroundprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accessibility/contrast?foreground=%23111111&background=%23ffffff
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
foreground = #111111
background = #ffffff
/v1/accessibility/alt-textImage alt text checker
The normal response can include the standard ok, endpoint and credits_charged fields plus:
missing_alt_countUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accessibility/alt-text?html=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/alt-text?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/alt-text?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accessibility/alt-text?html=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accessibility/alt-text?html=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accessibility/alt-text?html=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
/v1/accessibility/headingsHeading order checker
The normal response can include the standard ok, endpoint and credits_charged fields plus:
headingshas_h1Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accessibility/headings?html=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/headings?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/headings?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accessibility/headings?html=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accessibility/headings?html=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accessibility/headings?html=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
/v1/accessibility/formsForm label checker
The normal response can include the standard ok, endpoint and credits_charged fields plus:
input_countlabel_countlikely_missing_labelsUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/accessibility/forms?html=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/forms?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/accessibility/forms?html=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/accessibility/forms?html=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/accessibility/forms?html=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/accessibility/forms?html=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
html = example
URL preview, redirect, safety and UTM helpers.
/v1/url/previewURL preview metadata
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/preview?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/url/redirect-chainInspect a URL redirect chain
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/redirect-chain?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/url/safetyBasic URL safety score
The normal response can include the standard ok, endpoint and credits_charged fields plus:
risksignalsurlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/safety?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/url/utm-builderUTM URL builder
The normal response can include the standard ok, endpoint and credits_charged fields plus:
utm_sourceutm_mediumutm_campaignurlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/utm-builder?url=https%3A%2F%2Fexample.com&source=actoki&medium=api
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
source = actoki
medium = api
/v1/url/utm-cleanerRemove tracking parameters
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/utm-cleaner?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
/v1/url/screenshot-basicCapture a controlled page screenshot
The normal response can include the standard ok, endpoint and credits_charged fields plus:
urlprovider_readynoteUse a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/url/screenshot-basic?url=https%3A%2F%2Fexample.com
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
url = https://example.com
Evaluate straightforward business rules and return explainable decisions for application workflows.
/v1/rules/evaluateEvaluate a JSON ruleset against input data
Use a permanent key only on a trusted backend. Choose a language to update the example in place.
API_KEY="YOUR_ACTOKI_API_KEY"
curl --fail-with-body --silent --show-error \
--header "Authorization: Bearer $API_KEY" \
"https://actoki.com/v1/rules/evaluate?rules=example&input=example"
// Public browser code must call your own backend; never expose a permanent server key.
const apiKey = "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/rules/evaluate?rules=example&input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
// Node.js 18+. Store the key in ACTOKI_API_KEY.
const apiKey = process.env.ACTOKI_API_KEY ?? "YOUR_ACTOKI_API_KEY";
const response = await fetch('https://actoki.com/v1/rules/evaluate?rules=example&input=example', { headers: { Authorization: `Bearer ${apiKey}` } });
if (!response.ok) throw new Error(`Actoki API error ${response.status}`);
console.log(await response.json());
<?php
$apiKey = getenv('ACTOKI_API_KEY') ?: 'YOUR_ACTOKI_API_KEY';
$ch = curl_init('https://actoki.com/v1/rules/evaluate?rules=example&input=example');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) throw new RuntimeException("Actoki API error $status: $body");
print_r(json_decode((string)$body, true, 512, JSON_THROW_ON_ERROR));
# pip install requests
import os
import requests
api_key = os.environ.get('ACTOKI_API_KEY', "YOUR_ACTOKI_API_KEY")
headers = {'Authorization': f'Bearer {api_key}'}
response = requests.get('https://actoki.com/v1/rules/evaluate?rules=example&input=example', headers=headers, timeout=20)
response.raise_for_status()
print(response.json())
Method: GET
URL: https://actoki.com/v1/rules/evaluate?rules=example&input=example
Header name: Authorization
Header value: Bearer YOUR_ACTOKI_API_KEY
Query parameters:
rules = example
input = example