Copy Claims Checker
Pricing
$0.05 / actor start
Copy Claims Checker
Check drafts against supplied facts for unsupported numbers, English claim phrases and editorial defects. Download item-level findings and input hashes.
Copy Claims Checker
Pricing
$0.05 / actor start
Check drafts against supplied facts for unsupported numbers, English claim phrases and editorial defects. Download item-level findings and input hashes.
You can access the Copy Claims Checker programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "payload": {12 "items": [13 {14 "id": "planter-clean",15 "kind": "text",16 "facts": [17 "Cedar planter, 12 inches wide"18 ],19 "copy": "Cedar planter, 12 inches wide."20 },21 {22 "id": "planter-review",23 "kind": "html",24 "facts": [25 "Cedar planter, 12 inches wide"26 ],27 "copy": "<p>Certified cedar planter, 18 inches wide. Free shipping!</p>"28 }29 ],30 "forbiddenPhrases": [31 "risk free"32 ],33 "requiresEvidencePhrases": [34 "recycled material"35 ]36 }37};38
39// Run the Actor and wait for it to finish40const run = await client.actor("autosecurelogin/copy-claims-checker").call(input);41
42// Fetch and print Actor results from the run's dataset (if any)43console.log('Results from dataset');44console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);45const { items } = await client.dataset(run.defaultDatasetId).listItems();46items.forEach((item) => {47 console.dir(item);48});49
50// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docsThe Apify API client for JavaScript is the official library that allows you to use Copy Claims Checker API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: