$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "places": [
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Blue Door Dental Care",
< "categoryName": "Dentist",
< "categories": [
< "Dentist",
< "Cosmetic dentist"
< ],
< "address": "120 Main St, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0134",
< "website": "https://www.bluedoordental.com/",
< "emails": [
< "hello@bluedoordental.com"
< ],
< "facebooks": [
< "https://facebook.com/bluedoordental"
< ],
< "instagrams": [
< "https://instagram.com/bluedoordental"
< ],
< "totalScore": 4.8,
< "reviewsCount": 212,
< "imagesCount": 84,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Family and cosmetic dentistry in downtown Austin.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bluedoor_A",
< "placeId": "ChIJ_bluedoor_A"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Lakeside Pizza & Pasta",
< "categoryName": "Pizza restaurant",
< "categories": [
< "Pizza restaurant",
< "Italian restaurant"
< ],
< "address": "45 Lake Ave, Austin, TX 78702",
< "city": "Austin",
< "phone": "(512) 555-0178",
< "website": "https://www.facebook.com/lakesidepizzaatx",
< "emails": [],
< "facebooks": [
< "https://www.facebook.com/lakesidepizzaatx"
< ],
< "instagrams": [],
< "totalScore": 4.4,
< "reviewsCount": 891,
< "imagesCount": 1200,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Sunday",
< "hours": "8 AM to 6 PM"
< }
< ],
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lakeside_1",
< "placeId": "ChIJ_lakeside_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Hill Country Coffee",
< "categoryName": "Coffee shop",
< "categories": [
< "Coffee shop",
< "Cafe"
< ],
< "address": "900 Congress Ave, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0102",
< "website": "https://hillcountrycoffee.com",
< "emails": [
< "info@hillcountrycoffee.com"
< ],
< "facebooks": [
< "https://facebook.com/hillcountrycoffee"
< ],
< "instagrams": [
< "https://instagram.com/hillcountrycoffee"
< ],
< "tiktoks": [
< "https://tiktok.com/@hillcountrycoffee"
< ],
< "totalScore": 4.6,
< "reviewsCount": 540,
< "imagesCount": 310,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Sunday",
< "hours": "8 AM to 6 PM"
< }
< ],
< "description": "Small-batch roasters and an all-day cafe.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_hcc_congress",
< "placeId": "ChIJ_hcc_congress"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": true,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Greenleaf Plumbing Co.",
< "categoryName": "Plumber",
< "categories": [
< "Plumber",
< "Water heater installation service"
< ],
< "address": "77 Industrial Blvd, Round Rock, TX 78664",
< "city": "Round Rock",
< "phone": "(512) 555-0190",
< "website": null,
< "emails": [],
< "facebooks": [],
< "instagrams": [],
< "totalScore": 4.9,
< "reviewsCount": 64,
< "imagesCount": 6,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_greenleaf_1",
< "placeId": "ChIJ_greenleaf_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Austin Bike Works",
< "categoryName": "Bicycle shop",
< "categories": [
< "Bicycle shop",
< "Bicycle repair shop"
< ],
< "address": "301 E 6th St, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0155",
< "website": "http://austinbikeworks.wixsite.com/home",
< "emails": [],
< "facebooks": [
< "https://facebook.com/austinbikeworks"
< ],
< "instagrams": [],
< "totalScore": 4.7,
< "reviewsCount": 158,
< "imagesCount": 40,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Repairs, tune-ups and custom builds.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bike_1",
< "placeId": "ChIJ_bike_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Maria's Taqueria",
< "categoryName": "Mexican restaurant",
< "categories": [
< "Mexican restaurant",
< "Taco restaurant"
< ],
< "address": "15 Cesar Chavez St, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0143",
< "website": "http://mariastaqueriaatx.com",
< "emails": [
< "orders@mariastaqueriaatx.com"
< ],
< "facebooks": [
< "https://facebook.com/mariastaqueria"
< ],
< "instagrams": [
< "https://instagram.com/mariastaqueriaatx"
< ],
< "totalScore": 4.5,
< "reviewsCount": 1210,
< "imagesCount": 2300,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Sunday",
< "hours": "8 AM to 6 PM"
< }
< ],
< "description": "Family-run taqueria since 1998.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_maria_1",
< "placeId": "ChIJ_maria_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Oak Street Veterinary Clinic",
< "categoryName": "Veterinarian",
< "categories": [
< "Veterinarian",
< "Animal hospital"
< ],
< "address": "8 Oak St, Cedar Park, TX 78613",
< "city": "Cedar Park",
< "phone": "(512) 555-0111",
< "website": "https://oakstreetvet.com",
< "emails": [
< "frontdesk@oakstreetvet.com"
< ],
< "facebooks": [
< "https://facebook.com/oakstreetvet"
< ],
< "instagrams": [],
< "totalScore": 3.6,
< "reviewsCount": 300,
< "imagesCount": 55,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Full-service veterinary care.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_oak_1",
< "placeId": "ChIJ_oak_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": true,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Sunrise Roofing & Repair",
< "categoryName": "Roofing contractor",
< "categories": [
< "Roofing contractor"
< ],
< "address": "2210 Ranch Rd 620 S, Lakeway, TX 78734",
< "city": "Lakeway",
< "phone": "(512) 555-0188",
< "website": "http://www.sunriseroofingtx.com",
< "emails": [],
< "facebooks": [],
< "instagrams": [],
< "totalScore": 4.2,
< "reviewsCount": 37,
< "imagesCount": 12,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_sunrise_1",
< "placeId": "ChIJ_sunrise_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": true,
< "permanentlyClosed": true,
< "temporarilyClosed": false,
< "title": "The Daily Grind Cafe",
< "categoryName": "Cafe",
< "categories": [
< "Cafe"
< ],
< "address": "600 W 6th St, Austin, TX 78701",
< "city": "Austin",
< "phone": null,
< "website": null,
< "emails": [],
< "facebooks": [],
< "instagrams": [],
< "totalScore": 3.1,
< "reviewsCount": 9,
< "imagesCount": 2,
< "openingHours": null,
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_grind_1",
< "placeId": "ChIJ_grind_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Capital City Accounting",
< "categoryName": "Accountant",
< "categories": [
< "Accountant",
< "Tax preparation service"
< ],
< "address": "1100 Guadalupe St, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0166",
< "website": "https://capitalcityacct.com",
< "emails": [
< "info@capitalcityacct.com"
< ],
< "facebooks": [],
< "instagrams": [],
< "linkedIns": [
< "https://linkedin.com/company/capital-city-accounting"
< ],
< "totalScore": 4.9,
< "reviewsCount": 88,
< "imagesCount": 9,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Tax and bookkeeping for small business.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_capital_1",
< "placeId": "ChIJ_capital_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Zen Garden Yoga",
< "categoryName": "Yoga studio",
< "categories": [
< "Yoga studio"
< ],
< "address": "3300 Bee Caves Rd, Austin, TX 78746",
< "city": "Austin",
< "phone": "(512) 555-0120",
< "website": "https://zengardenyoga.square.site",
< "emails": [],
< "facebooks": [
< "https://facebook.com/zengardenyoga"
< ],
< "instagrams": [
< "https://instagram.com/zengardenyoga"
< ],
< "totalScore": 4.3,
< "reviewsCount": 121,
< "imagesCount": 70,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Sunday",
< "hours": "8 AM to 6 PM"
< }
< ],
< "description": "Vinyasa, yin and prenatal classes.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_zen_1",
< "placeId": "ChIJ_zen_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": true,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Mike's Auto Repair",
< "categoryName": "Auto repair shop",
< "categories": [
< "Auto repair shop"
< ],
< "address": "950 N Lamar Blvd, Austin, TX 78703",
< "city": "Austin",
< "phone": "(512) 555-0177",
< "website": null,
< "emails": [],
< "facebooks": [],
< "instagrams": [],
< "totalScore": 3.8,
< "reviewsCount": 412,
< "imagesCount": 18,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_mikes_1",
< "placeId": "ChIJ_mikes_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": true,
< "title": "Pearl Nail Studio",
< "categoryName": "Nail salon",
< "categories": [
< "Nail salon",
< "Beauty salon"
< ],
< "address": "2400 S Congress Ave, Austin, TX 78704",
< "city": "Austin",
< "phone": "(512) 555-0109",
< "website": "https://pearlnailstudio.com",
< "emails": [
< "book@pearlnailstudio.com"
< ],
< "facebooks": [
< "https://facebook.com/pearlnailstudio"
< ],
< "instagrams": [
< "https://instagram.com/pearlnailstudio"
< ],
< "totalScore": 4.1,
< "reviewsCount": 260,
< "imagesCount": 150,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Gel, acrylic and spa manicures.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_pearl_1",
< "placeId": "ChIJ_pearl_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Barton Springs Law Group",
< "categoryName": "Personal injury attorney",
< "categories": [
< "Personal injury attorney",
< "Law firm"
< ],
< "address": "700 Lavaca St, Austin, TX 78701",
< "city": "Austin",
< "phone": "(512) 555-0150",
< "website": "https://bartonspringslaw.com",
< "emails": [
< "contact@bartonspringslaw.com"
< ],
< "facebooks": [
< "https://facebook.com/bartonspringslaw"
< ],
< "instagrams": [],
< "linkedIns": [
< "https://linkedin.com/company/barton-springs-law"
< ],
< "totalScore": 4,
< "reviewsCount": 73,
< "imagesCount": 25,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": "Austin personal injury lawyers.",
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_barton_1",
< "placeId": "ChIJ_barton_1"
< },
< {
< "state": "Texas",
< "countryCode": "US",
< "claimThisBusiness": true,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "title": "Quick Lube Express",
< "categoryName": "Oil change service",
< "categories": [
< "Oil change service"
< ],
< "address": "5100 Burnet Rd, Austin, TX 78756",
< "city": "Austin",
< "phone": "(512) 555-0199",
< "website": "https://quicklubeexpress.business.site",
< "emails": [],
< "facebooks": [],
< "instagrams": [],
< "totalScore": 2.9,
< "reviewsCount": 187,
< "imagesCount": 7,
< "openingHours": [
< {
< "day": "Monday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Tuesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Wednesday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Thursday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Friday",
< "hours": "8 AM to 6 PM"
< },
< {
< "day": "Saturday",
< "hours": "Closed"
< },
< {
< "day": "Sunday",
< "hours": "Closed"
< }
< ],
< "description": null,
< "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lube_1",
< "placeId": "ChIJ_lube_1"
< }
< ],
< "sourceUrl": "",
< "csvText": "",
< "goal": "bestOverall",
< "weightOverrides": {},
< "targetCategories": [],
< "excludeCategories": [],
< "minReviews": 0,
< "excludeClosed": true,
< "tierACutoff": 75,
< "tierBCutoff": 55,
< "tierCCutoff": 35,
< "topN": 0,
< "csvTopCount": 100,
< "includeSkipped": true,
< "fieldMap": {},
< "maxRecords": 200000
<}
<EOF
$curl "https://api.apify.com/v2/actors/that_red_bird~maps-lead-scorer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'