Difference between revisions of "Reports"

From Advice Local Wiki
Jump to: navigation, search
(Keyword Data)
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Trigger a Report ==
+
== Get Client Report ==
This endpoint will generate a Baseline Report.
+
This endpoint will return a large object that contains data.overview and data.data properties. Within each of those properties is baseline data, and optionally monthly progress data if the location is active with products and services. The overview section corresponds to the scores that can be seen on the baseline report within the dashboards. The data.data property has the individual scores and flags for each directory and local scan.
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
http://p.lssdev.com/legacyclients/{client_id}/refresh
 
</syntaxhighlight>
 
 
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
GET /legacyclients/3201926/refresh HTTP/1.1
 
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
Content-Type: application/json
 
</syntaxhighlight>
 
  
=== Example Response ===
 
<syntaxhighlight lang="json">
 
{
 
    "status": 200,
 
    "success": true,
 
    "error": null,
 
    "data": "report initiated"
 
}
 
</syntaxhighlight>
 
== Directory Data Report ==
 
This endpoint returned directories report. This endpoint will keep a history of all reports per directory and may returned one to many results.
 
 
=== API Endpoint ===
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
<syntaxhighlight lang="html">
http://p.lssdev.com/legacydirectorydata?client={client_id}
+
http://p.lssdev.com/legacyclients/{client_id}/report
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
=== Example Request ===
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
GET /legacydirectorydata?client=3201926 HTTP/1.1
+
GET /legacyclients/3201926/report HTTP/1.1
 
Host: p.lssdev.com
 
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
x-api-token: YOUR_API_KEY
Line 44: Line 21:
 
     "success": true,
 
     "success": true,
 
     "error": null,
 
     "error": null,
     "data": [
+
     "data": {
         {
+
        "baseline_version": "jazz",
             "client": 3201926,
+
         "overview": {
            "partner": 7,
+
             "baselineOverview": {
             "data": {
+
                "bingScore": 93,
                 "dirName": "Chamberofcommerce",
+
                "directoriesScore": 31,
                "dirHandle": "chamberofcommerce",
+
                "googleScore": 100,
                "dirQuery": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                "localsScore": 96,
                "results": 4,
+
                "napScore": 39,
                 "result": [
+
                "visibilityScore": 59,
 +
                "yelpScore": 94,
 +
                "voiceScore": 72,
 +
                "localsScoreTotal": 287,
 +
                "localsTotal": 3,
 +
                "localsFound": 3,
 +
                "localsNapScore": 96,
 +
                "localsNapTotal": 287,
 +
                "directoriesTotal": 42,
 +
                "directoriesFound": 13,
 +
                "directoriesNapScore": 35,
 +
                "directoriesNapTotal": 1446,
 +
                "voiceTotal": 5,
 +
                "voiceFound": 4
 +
             }
 +
        },
 +
        "data": {
 +
            "baseline": {
 +
                 "locals": [
 +
                    {
 +
                        "product": "Bing local",
 +
                        "directory": "bing",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bing.png",
 +
                        "found": true,
 +
                        "score": 93,
 +
                        "claimed": false,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "categories": 0,
 +
                        "reviews": 24,
 +
                        "photos": 1,
 +
                        "website": "https://www.kellysartshack.com/",
 +
                        "link": "https://www.bing.com/maps?ss=ypid.YN873x2705681487866994578",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 Cloyd St, McKinney, TX 75069",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 96,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Google",
 +
                        "directory": "google",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png",
 +
                        "found": true,
 +
                        "score": 100,
 +
                        "claimed": true,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "categories": 2,
 +
                        "reviews": 5,
 +
                        "photos": 1,
 +
                        "website": "https://www.kellysartshack.com/",
 +
                        "link": "https://maps.google.com/?cid=14732555693742418082",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack & Events",
 +
                        "address": "312 E Cloyd St, McKinney, TX 75069, USA",
 +
                        "nap": {
 +
                            "name": 100,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Yelp",
 +
                        "directory": "yelp",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "claimed": true,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "categories": 7,
 +
                        "reviews": 2,
 +
                        "photos": 1,
 +
                        "website": "kellysartshack.com",
 +
                        "link": "https://www.yelp.com/biz/kellys-art-shack-mckinney-2",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 E Cloyd St, McKinney, TX 75069",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    }
 +
                ],
 +
                 "directories": [
 +
                    {
 +
                        "product": "Alignable",
 +
                        "type": "directory",
 +
                        "directory": "alignable",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/alignable.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Apple",
 +
                        "type": "ftp",
 +
                        "directory": "apple",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/apple.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Brownbook",
 +
                        "directory": "brownbook",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "link": "https://brownbook.net/business/46687008/kellys-art-shack",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
 +
                        "phone": "(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Bubblelife",
 +
                        "directory": "bubblelife",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bubblelife.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "link": "http://directory.bubblelife.com/listing/351732674/Kellys_Art_Shack",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
 +
                        "phone": "2149358891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Cataloxy",
 +
                        "type": "directory",
 +
                        "directory": "cataloxy",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cataloxy.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Chamberofcommerce",
 +
                        "directory": "chamberofcommerce",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/chamberofcommerce.png",
 +
                        "found": true,
 +
                        "score": 80,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "link": "https://www.chamberofcommerce.com/united-states/texas/mckinney/art-studios/2011504185-kellys-art-shack",
 +
                        "name": "Kelly's Art ShackKelly's Art Shack",
 +
                        "address": "312 East Cloyd Street Mckinney, TX 75069, 312 East Cloyd Street Mckinney, TX 75069",
 +
                        "phone": "(214) 935-8891(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 71,
 +
                            "address": 68,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Citysearch",
 +
                        "type": "directory",
 +
                        "directory": "citysearch",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysearch.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:43.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Citysquares",
 +
                        "directory": "citysquares",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysquares.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "link": "https://citysquares.com/b/kelly-s-art-shack-23512625",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, Mckinney, Texas, 75069",
 +
                        "phone": "(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/25230470-ginas-pizza",
+
                         "product": "Cylex",
                         "methods": {
+
                        "directory": "cylex",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png",
                            "enclosure": "main-content",
+
                        "found": true,
                            "enctype": "class"
+
                        "score": 94,
                        },
+
                        "type": "directory",
                         "title": "Gina's Pizza",
+
                         "date": "2021-01-06T21:24:43.000Z",
                         "tech": "false",
+
                        "link": "https://www.cylex.us.com/company/kelly%27s-art-shack-28002736.html",
 +
                        "name": "Kelly's Art Shack",
 +
                         "address": "312 East Cloyd Street, McKinney, TX 75069",
 +
                         "phone": "2149358891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Gina's Pizza",
+
                            "address": 100,
                                "address": "3142 W Balboa Blvd -  Newport Beach, California 92663",
+
                            "phone": 100
                                "phone": "(949) 723-4462",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 100
+
                    {
                                },
+
                        "product": "Dataprovider",
                                "a": {
+
                        "type": "aggregator",
                                    "percentage": 100
+
                        "directory": "dataprovider",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dataprovider.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 100
+
                        "date": "2021-01-06T21:24:41.000Z"
                                }
+
                    },
                            },
+
                    {
                            "score": 100
+
                        "product": "Dnb",
                         },
+
                        "type": "ftp",
                         "fulfillment": false
+
                        "directory": "dnb",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dnb.png",
 +
                         "found": false,
 +
                         "date": "2021-01-06T21:24:57.000Z"
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/32128621-ginas-pizza",
+
                         "product": "Ebusinesspages",
                         "methods": {
+
                        "directory": "ebusinesspages",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ebusinesspages.png",
                            "enclosure": "main-content",
+
                         "found": true,
                            "enctype": "class"
+
                        "score": 94,
                         },
+
                        "type": "directory",
                         "title": "Ginas Pizza Inc",
+
                        "date": "2021-01-06T21:24:57.000Z",
                         "tech": "false",
+
                        "link": "http://ebusinesspages.com/Kellys-Art-Shack_e4bp6.co",
 +
                         "name": "Kelly's Art Shack",
 +
                         "address": "312 East Cloyd Street, Mckinney, TX 75069",
 +
                         "phone": "(214) 935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Ginas Pizza Inc",
+
                            "address": 100,
                                "address": "309 Palm St -  Newport Beach, California 92661",
+
                            "phone": 100
                                "phone": "(949) 673-8516",
+
                         }
                                "n": {
 
                                    "percentage": 100
 
                                },
 
                                "a": {
 
                                    "percentage": 77
 
                                },
 
                                "p": {
 
                                    "percentage": 60
 
                                }
 
                            },
 
                            "score": 79
 
                         },
 
                        "fulfillment": false
 
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/44339193-ginas-pizza-newport",
+
                         "product": "Elocal",
                         "methods": {
+
                        "directory": "elocal",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/elocal.png",
                            "enclosure": "main-content",
+
                        "found": true,
                            "enctype": "class"
+
                        "score": 94,
                        },
+
                        "type": "directory",
                        "title": "Ginas Pizza Newport",
+
                         "date": "2021-01-06T21:24:51.000Z",
                         "tech": "false",
+
                        "link": "https://www.elocal.com/profile/kellya-s-art-shack-20346625/#!/category=319",
 +
                        "name": "Kelly’s Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
 +
                         "phone": "214-935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Ginas Pizza Newport",
+
                            "address": 100,
                                "address": "4507 W Coast Hwy - Newport Beach, California 92663",
+
                            "phone": 100
                                "phone": "(949) 722-1236",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 74
+
                    {
                                },
+
                        "product": "Enrollbusiness",
                                "a": {
+
                        "type": "directory",
                                    "percentage": 80
+
                        "directory": "enrollbusiness",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/enrollbusiness.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 70
+
                        "date": "2021-01-06T21:24:42.000Z"
                                }
+
                    },
                            },
+
                    {
                            "score": 75
+
                        "product": "Expressbusinessdirectory",
                         },
+
                        "type": "directory",
                         "fulfillment": false
+
                        "directory": "expressbusinessdirectory",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/expressbusinessdirectory.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:51.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Ezlocal",
 +
                        "type": "directory",
 +
                        "directory": "ezlocal",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ezlocal.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:46.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Factual",
 +
                        "type": "directory",
 +
                        "directory": "factual",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/factual.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:41.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Findopen",
 +
                        "type": "directory",
 +
                        "directory": "findopen",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/findopen.png",
 +
                         "found": false,
 +
                        "date": "2021-01-06T21:24:44.000Z"
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/34418872-ginas-pizza-inc",
+
                         "product": "Foursquare",
                         "methods": {
+
                        "directory": "foursquare",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/foursquare.png",
                            "enclosure": "main-content",
+
                         "found": true,
                            "enctype": "class"
+
                        "score": 94,
                         },
+
                        "type": "aggregator",
                         "title": "Gina's Pizza Inc",
+
                        "date": "2021-01-06T21:24:51.000Z",
                         "tech": "false",
+
                        "link": "https://foursquare.com/v/kellys-art-shack/5d553f77e8791a0008842e43",
 +
                         "name": "Kelly’s Art Shack",
 +
                         "address": "312 East Cloyd Street, McKinney, TX 75069, United States",
 +
                         "phone": "(214) 935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Gina's Pizza Inc",
+
                            "address": 100,
                                "address": "Po Box 11269 -  Newport Beach, California 92658",
+
                            "phone": 100
                                "phone": "(949) 760-0848",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 100
+
                    {
                                },
+
                        "product": "Here",
                                "a": {
+
                         "type": "directory",
                                    "percentage": 68
+
                        "directory": "here",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/here.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 50
+
                        "date": "2021-01-06T21:24:42.000Z"
                                }
+
                    },
                            },
+
                    {
                            "score": 73
+
                        "product": "Hotfrog",
                        },
+
                        "type": "directory",
                         "fulfillment": false
+
                        "directory": "hotfrog",
                    }
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hotfrog.png",
                ]
+
                        "found": false,
            },
+
                        "date": "2021-01-06T21:24:42.000Z"
            "results": "true",
+
                    },
            "errors": "false",
+
                    {
            "score": 100,
+
                        "product": "Hubbiz",
            "id": 52444619,
+
                        "type": "directory",
            "batch": "320192620171213",
+
                        "directory": "hubbiz",
            "createdAt": "2017-12-13T22:07:55.000Z",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hubbiz.png",
            "directory": "chamberofcommerce",
+
                        "found": false,
            "elapsedTime": 1148
+
                        "date": "2021-01-06T21:24:43.000Z"
        },
+
                    },
        {
+
                    {
            "client": 3201926,
+
                        "product": "Ibegin",
            "partner": 7,
+
                        "directory": "ibegin",
            "data": {
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ibegin.png",
                "dirName": "2findlocal",
+
                        "found": true,
                "dirHandle": "2findlocal",
+
                        "score": 94,
                "dirQuery": "http://www.2findlocal.com/search?k=gina+pizza&w=newport+beach%2C+ca",
+
                        "type": "directory",
                "results": 0
+
                        "date": "2021-01-06T21:24:44.000Z",
            },
+
                        "link": "https://www.ibegin.com/directory/visit/17037905",
            "results": "false",
+
                         "name": "Kelly's Art Shack",
            "errors": "false",
+
                         "address": "312 East Cloyd Street, Mckinney, Texas 75069",
            "score": 0,
+
                         "phone": "(214) 935-8891",
            "id": 52444620,
+
                         "nap": {
            "batch": "320192620171213",
+
                            "name": 82,
            "createdAt": "2017-12-13T22:07:56.000Z",
+
                            "address": 100,
            "directory": "2findlocal",
+
                            "phone": 100
            "elapsedTime": 1606
+
                         }
        },
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "data": {
 
                "dirName": "Angieslist",
 
                "dirHandle": "angieslist",
 
                "dirQuery": "https://www.google.com/search?q=site%3Aangieslist.com%2Fcompanylist%2F+Gina%27s+Pizza+Newport+Beach%2C+CA&ie=utf-8&hl=en&as_qdr=all&aq=t&rls=org:mozilla:us:official&client=firefox&num=2&filter=1&nojs=1",
 
                "results": 0
 
            },
 
            "results": "false",
 
            "errors": "false",
 
            "score": 0,
 
            "id": 52444621,
 
            "batch": "320192620171213",
 
            "createdAt": "2017-12-13T22:07:56.000Z",
 
            "directory": "angieslist",
 
            "elapsedTime": 2089
 
        },
 
        {...},
 
        {...}
 
    ],
 
    "total": 39
 
}
 
</syntaxhighlight>
 
 
 
== Additional Directory Data Report ==
 
This endpoint returned a curated list of directories report. This endpoint returned a single result per directory.
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
https://praxis.lssdev.com/api/v2/report/get-directory-nap/{client_id}
 
</syntaxhighlight>
 
 
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
GET /api/v2/report/get-directory-nap/3201926 HTTP/1.1
 
Host: praxis.lssdev.com
 
x-api-token: YOUR_API_KEY
 
</syntaxhighlight>
 
=== Example Response ===
 
<syntaxhighlight lang="json">
 
{
 
    "foursquare": {
 
        "napData": {
 
            "name": "Cameron Creek",
 
            "street": "1900 Cardinal Trail Drive",
 
            "suite": "",
 
            "city": "Galloway",
 
            "state": "OH",
 
            "zipcode": "43119",
 
            "country": "US",
 
            "phone": "8552517207",
 
            "website": "http://www.cameroncreekapts.com/"
 
        },
 
        "scraperData": {
 
            "dirHandle": "foursquare",
 
            "dirName": "Foursquare",
 
            "dirQuery": "https://foursquare.com/explore?mode=url&near=galloway%2c+oh+43119&q=Cameron+Creek",
 
            "dups": [
 
                {
 
                    "fulfillment": false,
 
                    "link": "http://www.foursquare.com/v/cameron-creek/55f32629498e537abeb110b6",
 
                    "methods": {
 
                         "addr_enc": "class",
 
                         "addr_kind": "class",
 
                        "addr_sym": "primaryInfo",
 
                        "addr_tag": "div",
 
                        "addr_val": "adr",
 
                        "enclosure": "resultsView",
 
                         "enctype": "id",
 
                         "phone_enc": "class",
 
                        "phone_kind": "class",
 
                        "phone_sym": "linkAttrValue",
 
                        "phone_tag": "span",
 
                         "phone_val": "tel",
 
                        "size": 10000,
 
                        "url": "https://foursquare.com/explore?mode=url&near=galloway%2c+oh+43119&q=Cameron+Creek"
 
 
                     },
 
                     },
                     "nap": {
+
                     {
 +
                        "product": "Infobel",
 +
                        "directory": "infobel",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infobel.png",
 +
                        "found": true,
 +
                        "score": 59,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:43.000Z",
 +
                        "link": "https://www.us-info.com/en/usa/kelly_s_art_shack/mckinney/USTX102328767-2149358891/businessdetails.aspx",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 Cloyd St, 75069 McKinney, Texas",
 +
                        "phone": "xIjh3b3+UefOQSaI5zdaQbBDIlsYdssNpJf2njXaJhY=",
 
                         "nap": {
 
                         "nap": {
                             "a": {
+
                             "name": 82,
                                "percentage": 100
+
                            "address": 96,
                             },
+
                             "phone": 0
                            "address": "1900 Cardinal Trail Dr Galloway, OH 43119 United States",
+
                        }
                            "n": {
+
                    },
                                "percentage": 100
+
                    {
                            },
+
                        "product": "Infogroup",
                            "name": "Cameron Creek",
+
                        "type": "aggregator",
                            "p": {
+
                        "directory": "infogroup",
                                "percentage": 100
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infogroup.png",
                            },
+
                        "found": false,
                            "phone": "(855) 251-7207"
+
                        "date": "2021-01-06T21:24:58.000Z"
                         },
+
                    },
                         "score": 100
+
                    {
 +
                        "product": "Invalid",
 +
                        "type": "directory",
 +
                        "directory": "invalid",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/invalid.png",
 +
                         "found": false,
 +
                         "date": "2021-01-06T21:24:50.000Z"
 
                     },
 
                     },
                     "tech": "false",
+
                     {
                    "title": "Cameron Creek"
+
                        "product": "Judysbook",
                }
+
                        "directory": "judysbook",
            ],
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png",
            "result": [
+
                         "found": true,
                {
+
                         "score": 94,
                    "fulfillment": true,
+
                         "type": "directory",
                    "link": "https://foursquare.com/v/cameron-creek/59f25e751acf117283fc0b35",
+
                         "date": "2021-01-06T21:24:43.000Z",
                    "methods": {
+
                         "link": "https://www.judysbook.com/Kellys-Art-Shack-Art-Studios-mckinney-tx-r39944456.htm",
                         "addr_enc": "class",
+
                         "name": "Kelly’s Art Shack",
                         "addr_kind": "class",
+
                         "address": "312 East Cloyd Street, McKinney, TX 75069",
                         "addr_sym": "primaryInfo",
+
                         "phone": "2149358891",
                         "addr_tag": "div",
+
                         "nap": {
                         "addr_val": "adr",
+
                            "name": 82,
                         "enclosure": "resultsView",
+
                            "address": 100,
                         "enctype": "id",
+
                            "phone": 100
                        "phone_enc": "class",
+
                         }
                         "phone_kind": "class",
 
                         "phone_sym": "linkAttrValue",
 
                        "phone_tag": "span",
 
                        "phone_val": "tel",
 
                        "size": 10000,
 
                         "url": "https://foursquare.com/explore?mode=url&near=galloway%2c+oh+43119&q=Cameron+Creek"
 
 
                     },
 
                     },
                     "nap": {
+
                     {
 +
                        "product": "Localeze",
 +
                        "directory": "localeze",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localeze.png",
 +
                        "found": true,
 +
                        "score": 93,
 +
                        "type": "aggregator",
 +
                        "date": "2021-01-06T21:24:42.000Z",
 +
                        "link": "https://www.neustarlocaleze.biz/directory/us/tx/mckinney/kellys-art-shack/906054103/",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 Cloyd St, Mckinney, TX, 75069",
 +
                        "phone": "(214) 935-8891",
 
                         "nap": {
 
                         "nap": {
                             "a": {
+
                             "name": 82,
                                "percentage": 100
+
                             "address": 96,
                            },
+
                             "phone": 100
                             "address": "1900 Cardinal Trail Dr Galloway, OH 43119 United States",
+
                        }
                             "n": {
+
                    },
                                "percentage": 100
+
                    {
                            },
+
                        "product": "Localmint",
                            "name": "Cameron Creek",
+
                        "type": "directory",
                            "p": {
+
                        "directory": "localmint",
                                "percentage": 100
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localmint.png",
                            },
+
                         "found": false,
                            "phone": "(855) 251-7207"
+
                         "date": "2021-01-06T21:24:44.000Z"
                         },
 
                         "score": 100
 
 
                     },
 
                     },
                     "tech": "false",
+
                     {
                    "title": "Cameron Creek"
+
                        "product": "Localstack",
                }
+
                        "directory": "localstack",
            ],
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localstack.png",
            "results": 2
+
                        "found": true,
        },
+
                        "score": 94,
        "message": "Data sent to source, scraper data could be older",
+
                        "type": "directory",
        "scraperLink": "https://foursquare.com/v/cameron-creek/59f25e751acf117283fc0b35",
+
                        "date": "2021-01-06T21:24:43.000Z",
        "apiLink": "https://foursquare.com/v/cameron-creek/59f25e751acf117283fc0b35"
+
                        "link": "https://localstack.com/biz/kellys-art-shack-mckinney-tx/3568539",
    },
+
                        "name": "Kellys Art Shack",
    "localstack": {
+
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
        "napData": {
+
                        "phone": "(214) 935-8891",
            "name": "Cameron Creek",
 
            "street": "1900 Cardinal Trail Drive",
 
            "suite": "",
 
            "city": "Galloway",
 
            "state": "OH",
 
            "zipcode": "43119",
 
            "country": "US",
 
            "phone": "8552517207",
 
            "website": "http://www.cameroncreekapts.com/"
 
        },
 
        "scraperData": {
 
            "dirHandle": "localstack",
 
            "dirName": "Localstack",
 
            "dirQuery": "http://www.localstack.com",
 
            "noDataAvailable": true,
 
            "result": [
 
                {
 
                    "link": "https://localstack.com/biz/cameron-creek-milwaukee-wi/3011584",
 
                    "nap": {
 
 
                         "nap": {
 
                         "nap": {
                             "a": {
+
                             "name": 82,
                                "percentage": 100
+
                             "address": 100,
                            },
+
                             "phone": 100
                             "address": "1900 Cardinal Trail Drive Galloway OH 43119",
+
                         }
                            "n": {
 
                                "percentage": 100
 
                            },
 
                             "name": "Cameron Creek",
 
                            "p": {
 
                                "percentage": 100
 
                            },
 
                            "phone": "8552517207"
 
                        },
 
                         "score": 100
 
                    }
 
                }
 
            ],
 
            "results": 1
 
        },
 
        "message": "Data sent to source, scraper data could be older",
 
        "scraperLink": "https://localstack.com/biz/cameron-creek-milwaukee-wi/3011584",
 
        "apiLink": "https://localstack.com/biz/cameron-creek-milwaukee-wi/3011584"
 
    },
 
    "bubblelife": {
 
        "napData": {
 
            "name": "Cameron Creek",
 
            "street": "1900 Cardinal Trail Drive",
 
            "suite": "",
 
            "city": "Galloway",
 
            "state": "OH",
 
            "zipcode": "43119",
 
            "country": "US",
 
            "phone": "8552517207",
 
            "website": "http://www.cameroncreekapts.com/"
 
        },
 
        "scraperData": {
 
            "dirHandle": "bubblelife",
 
            "dirName": "Bubblelife",
 
            "dirQuery": "#",
 
            "result": [
 
                {
 
                    "fulfillment": false,
 
                    "link": "http://directory.bubblelife.com/listing/35677601/Cameron_Creek",
 
                    "methods": {
 
                        "enclosure": "",
 
                        "enctype": "",
 
                        "noproxy": true,
 
                        "url": "#"
 
 
                     },
 
                     },
                     "nap": {
+
                     {
 +
                        "product": "Merchantcircle",
 +
                        "directory": "merchantcircle",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/merchantcircle.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:50.000Z",
 +
                        "link": "https://www.merchantcircle.com/kelly-s-art-shack-mckinney-tx",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
 +
                        "phone": "214-935-8891",
 
                         "nap": {
 
                         "nap": {
                             "a": {
+
                             "name": 82,
                                "percentage": 100
+
                             "address": 100,
                            },
+
                             "phone": 100
                             "address": "1900 Cardinal Trail Drive, Galloway, OH, 43119",
+
                         }
                            "n": {
 
                                "percentage": 100
 
                            },
 
                             "name": "Cameron Creek",
 
                            "p": {
 
                                "percentage": 100
 
                            },
 
                            "phone": "8552517207"
 
                         },
 
                        "score": 100
 
 
                     },
 
                     },
                     "tech": "false",
+
                     {
                    "title": "Cameron Creek"
+
                        "product": "N49",
                }
+
                        "type": "directory",
            ],
+
                        "directory": "n49",
            "results": 1
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/n49.png",
        },
+
                        "found": false,
        "message": "Data sent to source, scraper data could be older",
+
                        "date": "2021-01-06T21:24:41.000Z"
        "scraperLink": "http://directory.bubblelife.com/listing/35677601/Cameron_Creek",
+
                    },
        "apiLink": "http://directory.bubblelife.com/listing/35677601/Cameron_Creek"
+
                    {
    },
+
                        "product": "Opendi",
    {...},
+
                        "type": "directory",
    {...}
+
                        "directory": "opendi",
}
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/opendi.png",
</syntaxhighlight>
+
                        "found": false,
 
+
                        "date": "2021-01-06T21:24:59.000Z"
== Local Data Report ==
+
                    },
=== API Endpoint ===
+
                    {
<syntaxhighlight lang="html">
+
                        "product": "Showmelocal",
http://p.lssdev.com/legacylocaldata?client={client_id}
+
                        "directory": "showmelocal",
</syntaxhighlight>
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png",
 
+
                        "found": true,
=== Example Request ===
+
                         "score": 94,
<syntaxhighlight lang="php">
+
                         "type": "directory",
GET /legacylocaldata?client=3201926 HTTP/1.1
+
                        "date": "2021-01-06T21:24:50.000Z",
Host: p.lssdev.com
+
                         "link": "https://www.showmelocal.com/profile.aspx?bid=23095653",
x-api-token: YOUR_API_KEY
+
                        "name": "Kelly's Art Shack",
Content-Type: application/json
+
                         "address": "312 East Cloyd Street, Mckinney, TX, 75069",
</syntaxhighlight>
+
                         "phone": "(214)935-8891",
 
+
                         "nap": {
=== Example Response ===
+
                             "name": 82,
<syntaxhighlight lang="json">
+
                             "address": 100,
{
+
                             "phone": 100
    "status": 200,
 
    "success": true,
 
    "error": null,
 
    "data": [
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "link": "http://www.yelp.com/biz/ginas-pizza-newport-beach-2?osq=Gina%27s+Pizza",
 
            "claimed": "null",
 
            "hours": "true",
 
            "description": "null",
 
            "categories": 3,
 
            "photos": 0,
 
            "website": "http://ginaspizza.com",
 
            "n": "Gina?s Pizza",
 
            "a": "3142 W Balboa Blvd Newport Beach, CA 92663",
 
            "p": "(949) 723-4462",
 
            "id": 6945921,
 
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "yelp",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 100,
 
            "aScore": 100,
 
            "pScore": 100,
 
            "napScore": 100,
 
            "data": {
 
                "n": "Gina?s Pizza",
 
                "link": "http://www.yelp.com/biz/ginas-pizza-newport-beach-2?osq=Gina%27s+Pizza",
 
                "a": "3142 W Balboa Blvd Newport Beach, CA 92663",
 
                "p": "(949) 723-4462",
 
                "local": {
 
                    "website": "ginaspizza.com",
 
                    "categories": [
 
                        "pizza",
 
                         "italian",
 
                         "sandwiches"
 
                    ],
 
                    "opening_hours": [
 
                        {
 
                            "day": "Mon",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                         {
 
                            "day": "Tue",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                         {
 
                            "day": "Wed",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                        {
 
                            "day": "Thu",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                         {
 
                            "day": "Fri",
 
                            "open": "11:00 am",
 
                            "close": "10:30 pm"
 
                        },
 
                         {
 
                            "day": "Sat",
 
                            "open": "11:00 am",
 
                            "close": "10:30 pm"
 
                        },
 
                        {
 
                             "day": "Sun",
 
                             "open": "11:00 am",
 
                             "close": "9:30 pm"
 
 
                         }
 
                         }
                    ],
 
                    "rating": "3.0",
 
                    "reviews": 194
 
                },
 
                "reputation": {
 
                    "rating": "3.0",
 
                    "reviews": 194,
 
                    "contents": [
 
                        {
 
                            "author": "Nijole T.",
 
                            "avatar": "",
 
                            "rated": "4.0",
 
                            "review": "Delicious pizza at Gina's!\nWe all enjoyed the crust and ample toppings, everything is always fresh an made to order.\nAn XL fed our family of 4 with plenty of leftovers, making it a great deal for just under $30.\nService is nice, pizzas ready in about 15 minutes.\nGreat place for a casual lunch or dinner.",
 
                            "date": "2017-07-25 00:00:00"
 
                        },
 
                        {
 
                            "author": "Michael F.",
 
                            "avatar": "",
 
                            "rated": "2.0",
 
                            "review": "Had small pizza, kids pizza, bruschetta and tomato canters salad. NOT WORTH $50!!!\n\nPizza was just ok. Salad was all spring mix. All food Not much flavor and over priced. \n\nDisappointed",
 
                            "date": "2017-10-26 00:00:00"
 
                        },
 
                        {...},
 
                        {...}
 
                    ]
 
                }
 
            }
 
        },
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "link": "https://www.google.com/maps?cid=15412785221185897851",
 
            "claimed": "true",
 
            "hours": "true",
 
            "description": "null",
 
            "categories": 7,
 
            "photos": 1,
 
            "website": "http://www.ginaspizza.com/",
 
            "n": "Gina's Pizza",
 
            "a": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
            "p": "(949) 723-4462",
 
            "id": 6945922,
 
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "google",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 100,
 
            "aScore": 100,
 
            "pScore": 100,
 
            "napScore": 100,
 
            "data": {
 
                "cid": "15412785221185897851",
 
                "description": "",
 
                "name": "Gina's Pizza",
 
                "place_url": "https://www.google.com/maps?cid=15412785221185897851",
 
                "categories": [
 
                    "pizza restaurant",
 
                    "deliveries",
 
                    "fast food container",
 
                    "italian restaurant",
 
                    "pizza delivery",
 
                    "pizza",
 
                    "western food"
 
                ],
 
                "gcid": [
 
                    "gcid:pizza_restaurant",
 
                    "gcid:italian_restaurant",
 
                    "gcid:pizza_delivery_service"
 
                ],
 
                "keywords": [
 
                    "deliveries",
 
                    "fast food container",
 
                    "pizza",
 
                    "western food"
 
                ],
 
                "photos": 0,
 
                "claimed": "yes",
 
                "reviews": 84,
 
                "rating": "4.4",
 
                "address": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
                "area_code": "949",
 
                "business_phone": "(949) 723-4462",
 
                "website": {
 
                    "link": "http://www.ginaspizza.com/",
 
                    "domain": "ginaspizza.com"
 
                },
 
                "opening_hours": {
 
                    "1": {
 
                        "day": "Monday",
 
                        "hours": "11AM–10PM"
 
 
                     },
 
                     },
                     "2": {
+
                     {
                         "day": "Tuesday",
+
                        "product": "Sitecards",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "sitecards",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/sitecards.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:50.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Superpages",
 +
                        "type": "directory",
 +
                        "directory": "superpages",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/superpages.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:48.000Z"
 +
                    },
 +
                    {
 +
                         "product": "Tupalo",
 +
                         "type": "directory",
 +
                        "directory": "tupalo",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/tupalo.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:43.000Z"
 
                     },
 
                     },
                     "3": {
+
                     {
                         "day": "Wednesday",
+
                        "product": "Uscity",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "uscity",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/uscity.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "4": {
+
                     {
                         "day": "Thursday",
+
                        "product": "Verizon411",
                         "hours": "11AM–10PM"
+
                        "type": "ftp",
 +
                        "directory": "verizon411",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/verizon411.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "5": {
+
                     {
                         "day": "Friday",
+
                        "product": "Whereto",
                         "hours": "11AM–11PM"
+
                        "type": "directory",
 +
                        "directory": "whereto",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/whereto.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "6": {
+
                     {
                         "day": "Saturday",
+
                        "product": "Wherezit",
                         "hours": "11AM–11PM"
+
                        "type": "directory",
 +
                        "directory": "wherezit",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/wherezit.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:41.000Z"
 
                     },
 
                     },
                     "7": {
+
                     {
                         "day": "Sunday",
+
                        "product": "Yasabe",
                         "hours": "11AM–10PM"
+
                        "directory": "yasabe",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yasabe.png",
 +
                        "found": true,
 +
                        "score": 86,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:42.000Z",
 +
                        "link": "https://www.dev.yasabe.com/en/mckinney-tx/d-1000000963797-kellys-art-shack.html",
 +
                        "name": "Kellys Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX",
 +
                         "phone": "(214)-935-8891",
 +
                         "nap": {
 +
                            "name": 82,
 +
                            "address": 75,
 +
                            "phone": 100
 +
                        }
 
                     }
 
                     }
                 },
+
                 ],
                 "place_id": null,
+
                 "voice": [
                "is_places": "no",
+
                     {
                "nap": {
+
                        "device": "google",
                    "n": 100,
+
                        "name": "Google Assistant",
                     "a": 100,
+
                        "score": 100,
                    "p": 100,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google-home.png"
                    "t": 100
+
                    },
                }
+
                    {
            }
+
                        "device": "siri",
        },
+
                        "name": "Apple Siri",
        {
+
                        "score": 0,
            "client": 3201926,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Siri-logo.png"
            "partner": 7,
+
                    },
            "link": "",
+
                    {
            "claimed": "",
+
                        "device": "bixby",
            "hours": "false",
+
                        "name": "Samsung Bixby",
            "description": "null",
+
                        "score": 75,
            "categories": 0,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Bixby.png"
            "photos": 0,
+
                    },
            "website": "",
+
                    {
            "n": "",
+
                        "device": "alexa",
            "a": "",
+
                        "name": "Amazon Alexa",
            "p": "",
+
                        "score": 75,
            "id": 6945923,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/amazon-alexa.png"
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "yahoo",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 0,
 
            "aScore": 0,
 
            "pScore": 0,
 
            "napScore": 0,
 
            "data": null
 
        },
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "link": "http://www.bing.com/local?lid=YN873x105183062",
 
            "claimed": "null",
 
            "hours": "null",
 
            "description": "null",
 
            "categories": 0,
 
            "photos": 6,
 
            "website": "http://ginaspizza.com/",
 
            "n": "Gina's Pizza",
 
            "a": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
            "p": "(949) 723-4462",
 
            "id": 6945924,
 
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "bing",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 100,
 
            "aScore": 100,
 
            "pScore": 100,
 
            "napScore": 100,
 
            "data": {
 
                "data": {
 
                    "present": 1,
 
                    "photos": 6,
 
                    "website": "http://ginaspizza.com/",
 
                    "reviews": 0,
 
                    "bingpage": "http://www.bing.com/local?lid=YN873x105183062",
 
                    "napscore": {
 
                        "nap": {
 
                            "n": 100,
 
                            "a": 100,
 
                            "p": 100
 
                        },
 
                        "score": 100
 
 
                     },
 
                     },
                     "score": 100
+
                     {
                },
+
                        "device": "cortana",
                "nap": [
+
                        "name": "Microsoft Cortana",
                    "Gina's Pizza",
+
                        "score": 75,
                    "3142 W Balboa Blvd, Newport Beach, CA 92663",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cortana-logo.png"
                    "(949) 723-4462",
+
                    }
                    "(949) 723-4462",
 
                    "(949) 723-4462",
 
                    "http://www.bing.com/local?lid=YN873x105183062"
 
 
                 ]
 
                 ]
 
             }
 
             }
        }
 
    ],
 
    "total": 4
 
}
 
</syntaxhighlight>
 
 
== Monthly Progress Report ==
 
The monthly report includes a Visibility Score showing the average of your Google+ Local, Yelp Local, Bing Places, and Directory Scores.
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
http://p.lssdev.com/legacyclients/{client_id}/summary
 
</syntaxhighlight>
 
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
GET /legacyclients/3201926/summary HTTP/1.1
 
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
Content-Type: application/json
 
</syntaxhighlight>
 
 
=== Example Response ===
 
<syntaxhighlight lang="json">
 
{
 
    "status": 200,
 
    "success": true,
 
    "error": null,
 
    "data": {
 
        "baseline": {
 
            "bingScore": 0,
 
            "directoriesScore": 0,
 
            "gmbScore": 100,
 
            "visibilityScore": 23,
 
            "yelpScore": 100
 
 
         },
 
         },
         "monthly": {
+
         "products": []
            "bingScore": 97,
 
            "directoriesScore": 92,
 
            "gmbScore": 100,
 
            "visibilityScore": 95,
 
            "yelpScore": 100
 
        }
 
 
     }
 
     }
 
}
 
}
Line 847: Line 729:
  
  
== Overview scores data ==
+
== Insight Data ==
This endpoint will returned the report overview scores for a given client. This overview will include voice scoring details and general score as well.
+
This endpoint provides historical data for insights provided by Google My Business if enabled and activated.  Dates can be filtered using where clauses in the as a JSON parameter like where={ recordedAt: { ">": "2020-03-01" } }.  The same type of logic can be applied to multiple data points. When calling for multiple data points, it is important to included the ?limit and ?skip parameters to properly pagination results to improve performance.  Insight data requires the partner key of the corresponding client/location.
 +
 
 
=== API Endpoint ===
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
<syntaxhighlight lang="html">
https://praxis.lssdev.com/api/v2/report/get-overview/{clientid}
+
https://p.lssdev.com/legacyinsightdata?client={clientid}
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
=== Example Request ===
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
GET /api/v2/report/get-overview/{clientid} HTTP/1.1
+
GET /legacyinsightdata?client={clientid} HTTP/1.1
Host: praxis.lssdev.com
+
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
</syntaxhighlight>
 +
 
 +
=== Example Response ===
 +
<syntaxhighlight lang="json">
 +
{
 +
    "status": 200,
 +
    "success": true,
 +
    "error": null,
 +
    "data": [
 +
        {
 +
            "client": 123,
 +
            "partner": 123456,
 +
            "id": 3,
 +
            "store_code": 0,
 +
            "LA_score": 36,
 +
            "brand_score": 0,
 +
            "influence_score": 100,
 +
            "listing_score": 80,
 +
            "reputation_score": 0,
 +
            "engagement_score": 0,
 +
            "website_visits": 0,
 +
            "phone_calls_clicks": 0,
 +
            "phone_calls_tracked": 0,
 +
            "directions": 0,
 +
            "calls_directions": 0,
 +
            "conv_rate": 0,
 +
            "total_conversions": 0,
 +
            "avg_sale_price": 0,
 +
            "potential_revenue": 0,
 +
            "investment": 0,
 +
            "potential_roi": 0,
 +
            "review_rating": 0,
 +
            "photo_views": 28,
 +
            "discovery_impressions": 6,
 +
            "direct_impressions": 0,
 +
            "chain_impressions": 0,
 +
            "search_impressions_from_chain": 0,
 +
            "listing_views": 6,
 +
            "total_calls": 0,
 +
            "first_time_caller": 0,
 +
            "duration_seconds": 0,
 +
            "active_location": 0,
 +
            "cost_per_location": 0,
 +
            "total_impressions": 6,
 +
            "total_actions": 0,
 +
            "cost_per_actions": 0,
 +
            "createdAt": "2020-05-14T19:26:58.000Z",
 +
            "recordedAt": "2020-05-07T12:00:00.000Z",
 +
            "updatedAt": "2020-05-14T19:27:31.000Z"
 +
        }
 +
    ]
 +
}
 +
</syntaxhighlight>
 +
 
 +
 
 +
== Voice Data ==
 +
This endpoint provides information on voice enabled locations via the AdVoice product. All 3 query parameters are required.  Unlike the other endpoints in our system, there are no conditionals that you can include in the request.  The data returned is always an aggregate.  You are free to set any range you wish and the endpoint will provide the totals for you.
 +
 
 +
=== API Endpoint ===
 +
<syntaxhighlight lang="html">
 +
https://p.lssdev.com/legacyvoicedata?client={clientid}&startDate={startDate}&endDate={endDate}
 +
</syntaxhighlight>
 +
 
 +
=== Example Request ===
 +
<syntaxhighlight lang="php">
 +
GET /legacyvoicedata?client={clientid}&startDate=2020-01-01&endDate=2020-07-01 HTTP/1.1
 +
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
x-api-token: YOUR_API_KEY
 
Content-Type: application/json
 
Content-Type: application/json
Line 865: Line 817:
 
<syntaxhighlight lang="json">
 
<syntaxhighlight lang="json">
 
{
 
{
  "baselineOverview": {
+
    "status": 200,
     "bingScore": 99,
+
     "success": true,
     "directoriesScore": 34,
+
     "error": null,
     "gmbScore": 100,
+
     "data": {
    "visibilityScore": 55,
+
        "users_total": 115,
    "yelpScore": 83,
+
        "sessions_total": 210,
    "voiceData": {
+
        "requests_total": 726,
      "alexa": "Ready, but has wrong information",
+
        "users": [
      "bixby": "Ready",
+
            {
      "cortana": "Ready",
+
                "count": 41,
      "googleAsistant": "Ready",
+
                "assistant": "GoogleAssistant"
      "siri": "Ready",
+
            },
      "voiceSearchReadines": 95
+
            {
 +
                "count": 74,
 +
                "assistant": "Alexa"
 +
            }
 +
        ],
 +
        "requests": [
 +
            {
 +
                "count": 41,
 +
                "assistant": "GoogleAssistant"
 +
            },
 +
            {
 +
                "count": 74,
 +
                "assistant": "Alexa"
 +
            }
 +
        ]
 
     }
 
     }
  },
+
}
  "monthlyOverview": {
+
</syntaxhighlight>
     "bingScore": 100,
+
 
     "directoriesScore": 100,
+
 
     "gmbScore": 95,
+
== Review Data ==
     "visibilityScore": 97,
+
This endpoint provides a large JSON object with aggregate statistics as well as a sample set of recent review objects.  This endpoint is only available for locations with active orders.
    "yelpScore": 78,
+
 
    "voiceData": {
+
=== API Endpoint ===
      "alexa": "Ready, but has wrong information",
+
<syntaxhighlight lang="html">
      "bixby": "Ready",
+
https://p.lssdev.com/legacyclients/{clientid}/reviews
      "cortana": "Ready",
+
</syntaxhighlight>
      "googleAsistant": "Ready, but has wrong information",
+
 
      "siri": "Ready",
+
=== Example Request ===
      "voiceSearchReadines": 90
+
<syntaxhighlight lang="php">
 +
GET /legacyclients/3782992/reviews HTTP/1.1
 +
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
</syntaxhighlight>
 +
 
 +
=== Example Response ===
 +
<syntaxhighlight lang="json">
 +
 
 +
{
 +
     "status": 200,
 +
     "success": true,
 +
     "error": null,
 +
     "data": {
 +
        "reviews": 21,
 +
        "score": {
 +
            "total": 4.85,
 +
            "months_1": 4.85,
 +
            "months_6": 4.85
 +
        },
 +
        "recency": {
 +
            "total": 0,
 +
            "week_1": 0,
 +
            "months_1": 0,
 +
            "months_2": 0,
 +
            "months_3": 0
 +
        },
 +
        "sentiment": {
 +
            "positive": 75,
 +
            "above_average": 0,
 +
            "neutral": 0,
 +
            "below_average": 1,
 +
            "negative": 0
 +
        },
 +
        "sources": [
 +
            {
 +
                "name": "BrownBook",
 +
                "score": 2,
 +
                "reviews": 1,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png"
 +
            },
 +
            {
 +
                "name": "Cylex USA",
 +
                "score": 0,
 +
                "reviews": 0,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png"
 +
            },
 +
            {
 +
                "name": "Google",
 +
                "score": 5,
 +
                "reviews": 17,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png"
 +
            },
 +
            {
 +
                "name": "Judy's Book",
 +
                "score": 0,
 +
                "reviews": 0,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png"
 +
            },
 +
            {
 +
                "name": "ShowMeLocal",
 +
                "score": 0,
 +
                "reviews": 0,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png"
 +
            },
 +
            {
 +
                "name": "Yelp",
 +
                "score": 5,
 +
                "reviews": 3,
 +
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png"
 +
            }
 +
        ],
 +
        "data": [
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "Alison Thornton",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "I had an incredible experience at Kelly's Art Shack & Events! The venue was perfect for hosting birthday parties, and the karaoke added a fantastic touch of entertainment. The Arty Party was a blast, and I thoroughly enjoyed painting a lively Tuscan scene. Kelly's Art Shack & Events is definitely a downtown McKinney gem for art enthusiasts and party-goers alike!",
 +
                "replied": true,
 +
                "id": 33407619,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqlx3ckOFtjqB498fIWRyzY-ZtOLhRez8hkzFFG2UKCgv0vKhhLwah4HVopX5mfB4nZbJ0YU",
 +
                "reviewedAt": "2023-06-02T17:07:50.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "Paul Grossman",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Breathtaking art!!! A wonderful place to see, learn from, and grow.",
 +
                "replied": true,
 +
                "id": 33407620,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqkxwZH_GD9qMaCuVB4zGt2I5sXuRgi0_ok4nmkfASBHP-bLtEhuz7BvyNihW38XI5tSHns3",
 +
                "reviewedAt": "2023-02-16T21:50:47.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "Linda Nunn",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Kelly is an amazing artist . I have purchased many canvases from her. In addition , she hosts events and is very involved with McKinney life. She features fellow artists as well and promotes great local bands. It is a fun place to visit or book a birthday party or commission Kelly for a mural or canvas for your home.",
 +
                "replied": true,
 +
                "id": 33407616,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqn4jpaktJNV_A6i4LKWAt1MTuP8uZuzCm0nWmxWDPcCxjmaTP8ZctiJqkMyHHtGkeBHHXOrKw",
 +
                "reviewedAt": "2022-09-13T11:09:29.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "Letitia Sanchez",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Kelly is a wonderful, professional artist who is a dream to collaborate with. Her art gallery and event venue is a beautiful space.\n\nTonight, Kelly's Art Gallery was the location for Joyland's Speakeasy paint and sip party. Poppy's Wings served catfish with truffle mac & cheese and baked beans. Folks, GET YOU SOME OF EVERYTHING!!!! Run, don't walk.",
 +
                "replied": true,
 +
                "id": 33407632,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqlWgPK8K77bs21PrqgpOohRorsbnmX9z5eljUPLitkBtdluw3-UCqoUVaQLtAVfZvrFPkLF",
 +
                "reviewedAt": "2022-08-14T04:55:28.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "Joseph Ortiz",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "",
 +
                "replied": true,
 +
                "id": 33407628,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqns8q_enfIwdmCMasU8OjeiyHAYZopnNUdB-wo9kUmHVC_2PfpduCvKAntwXiwv0T6oUM4YJA",
 +
                "reviewedAt": "2022-08-03T16:46:36.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "brownbook",
 +
                "url": "https://www.brownbook.net/business/49380379/kellys-art-shack-events",
 +
                "reviewer": "Dr. Franklin Perry",
 +
                "sentiment": null,
 +
                "score": 2,
 +
                "comment": "Did a great job on my commissioned artwork",
 +
                "replied": false,
 +
                "id": 38046,
 +
                "createdAt": "2022-09-21T17:59:05.000Z",
 +
                "reviewKey": "603793",
 +
                "reviewedAt": "2022-05-03T19:18:52.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147837",
 +
                "reviewer": "William Marcus",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "The fitters came on time, worked quickly and cleanly. Care and operation of the air conditioner were also explained to us in a way that was easy to understand. Thanks a lot for Air Track. Gladly again.",
 +
                "replied": false,
 +
                "id": 21,
 +
                "createdAt": "2022-06-21T21:47:58.000Z",
 +
                "reviewKey": "CA147837",
 +
                "reviewedAt": "2022-03-07T10:16:46.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147599",
 +
                "reviewer": "Jay J. Jones",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Just had Air track Inc in to replace an old HVAC unit. Director Frank was outstanding! He’s honest, gives you his opinion yet respects your needs. Extremely kind and courteous with almost 40 years of experience, the work completed was outstanding. Definitely recommend them.",
 +
                "replied": false,
 +
                "id": 24,
 +
                "createdAt": "2022-06-21T21:47:58.000Z",
 +
                "reviewKey": "CA147599",
 +
                "reviewedAt": "2022-01-18T12:16:57.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "google",
 +
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
 +
                "reviewer": "latasha whalen",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "",
 +
                "replied": true,
 +
                "id": 33407622,
 +
                "createdAt": "2023-07-12T05:47:07.000Z",
 +
                "reviewKey": "AbFvOqmp3Rwzi0ReMLaVJWUe163LOHL6ke9xgJOZD_vHMqn-q74IEl7P9qVYLd1fiPvBgCs8a-wv",
 +
                "reviewedAt": "2022-01-09T00:35:09.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147474",
 +
                "reviewer": "Kyle Butler",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Excellent Service; after accepting a detailed quote from Frank, our replacement combo boiler was installed 3 days later. They demonstrated how to manage the boiler &amp; wireless controller before removing the old boiler &amp; tidying up before leaving.. I would definitely recommend Air Track Inc.",
 +
                "replied": false,
 +
                "id": 37,
 +
                "createdAt": "2022-06-21T21:48:02.000Z",
 +
                "reviewKey": "CA147474",
 +
                "reviewedAt": "2021-12-29T18:18:37.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147452",
 +
                "reviewer": "Ivan Cohen",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Fantastic throughout. Very professional, kept us well informed, worked well with the other people working on our basement and took a huge amount of pride in their work. Very highly recommended.",
 +
                "replied": false,
 +
                "id": 41,
 +
                "createdAt": "2022-06-21T21:48:03.000Z",
 +
                "reviewKey": "CA147452",
 +
                "reviewedAt": "2021-12-24T11:38:14.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147355",
 +
                "reviewer": "Christopher Fonville",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Excellent service..My 5 month old boiler stopped working. Frank turned up on time , resolved the problem really quickly,it wasnt the boiler but one of two options, both of he pointed out to me and were a quick fix . Thank you for your help and time .",
 +
                "replied": false,
 +
                "id": 39,
 +
                "createdAt": "2022-06-21T21:48:02.000Z",
 +
                "reviewKey": "CA147355",
 +
                "reviewedAt": "2021-12-01T13:37:21.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147345",
 +
                "reviewer": "Kristen Spearman",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "I recommend Air Track Inc to everyone. They fulfilled the agreement with excellence of professionalism. Excellent professional!  They handle the equipment very carefully to protect the same. Attentive, punctual, clean service. I confirm the other positive evaluations of this professional. Also for the fast service for getting it done. We were so pleased with their service and we used them again.",
 +
                "replied": false,
 +
                "id": 27,
 +
                "createdAt": "2022-06-21T21:47:59.000Z",
 +
                "reviewKey": "CA147345",
 +
                "reviewedAt": "2021-11-30T10:42:22.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147192",
 +
                "reviewer": "Maverick Erickson",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Customer service is still very important here - friendly, competent and punctual. Thank you Air Track.",
 +
                "replied": false,
 +
                "id": 1,
 +
                "createdAt": "2022-06-21T21:47:55.000Z",
 +
                "reviewKey": "CA147192",
 +
                "reviewedAt": "2021-11-08T10:53:58.000Z"
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "batch": null,
 +
                "provider": "cylex",
 +
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147122",
 +
                "reviewer": "Roman Prince",
 +
                "sentiment": null,
 +
                "score": 5,
 +
                "comment": "Air Track team work was good.Great expertise - especially when it comes to air conditioning systems from Our Company. Fair in price. You are in good hands there!. Thanks to Air Track INC.",
 +
                "replied": false,
 +
                "id": 5,
 +
                "createdAt": "2022-06-21T21:47:55.000Z",
 +
                "reviewKey": "CA147122",
 +
                "reviewedAt": "2021-10-26T12:30:42.000Z"
 +
            }
 +
        ],
 +
        "summaries": [
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "brownbook",
 +
                "rating": 2,
 +
                "id": 98,
 +
                "createdAt": "2022-07-26T00:28:51.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T07:03:08.000Z",
 +
                "reviews": 1,
 +
                "maxRating": 2
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "cylex",
 +
                "rating": 0,
 +
                "id": 6,
 +
                "createdAt": "2022-07-25T22:26:56.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T07:03:39.000Z",
 +
                "reviews": 0,
 +
                "maxRating": 0
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "google",
 +
                "rating": 5,
 +
                "id": 25028,
 +
                "createdAt": "2022-09-06T17:19:06.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T07:02:42.000Z",
 +
                "reviews": 17,
 +
                "maxRating": 5
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "judysbook",
 +
                "rating": 0,
 +
                "id": 83,
 +
                "createdAt": "2022-07-26T00:25:35.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T06:58:02.000Z",
 +
                "reviews": 0,
 +
                "maxRating": 0
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "showmelocal",
 +
                "rating": 0,
 +
                "id": 95,
 +
                "createdAt": "2022-07-26T00:28:51.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T07:03:13.000Z",
 +
                "reviews": 0,
 +
                "maxRating": 0
 +
            },
 +
            {
 +
                "client": 3782992,
 +
                "partner": 45803,
 +
                "directory": "yelp",
 +
                "rating": 5,
 +
                "id": 24709,
 +
                "createdAt": "2022-09-06T17:18:29.000Z",
 +
                "errorAt": null,
 +
                "updatedAt": "2023-12-15T07:01:46.000Z",
 +
                "reviews": 3,
 +
                "maxRating": 5
 +
            }
 +
        ]
 
     }
 
     }
  }
 
 
}
 
}
 +
 +
</syntaxhighlight>
 +
 +
 +
== Keyword Data ==
 +
This endpoint provides reporting on keyword organic rankings as well as a map grid chart centered around the business.
 +
=== API Endpoint ===
 +
<syntaxhighlight lang="html">
 +
https://p.lssdev.com/legacykeywords/{clientid}
 +
</syntaxhighlight>
 +
 +
=== Example Request ===
 +
<syntaxhighlight lang="php">
 +
GET /legacykeywords/3782992 HTTP/1.1
 +
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
</syntaxhighlight>
 +
 +
{
 +
    "status": 200,
 +
    "success": true,
 +
    "error": null,
 +
    "data": [
 +
        {
 +
            "processing": false,
 +
            "keyword": "groomers",
 +
            "rank_starting": 36,
 +
            "rank_ending": 36,
 +
            "grid": [
 +
                {
 +
                    "LAT": "33.143148973691",
 +
                    "LON": "-96.716604928864",
 +
                    "rank": 0,
 +
                    "point": "1,1",
 +
                    "average": "[]"
 +
                },
 +
                {
 +
                    "LAT": "33.143148973691",
 +
                    "LON": "-96.716585920617",
 +
                    "rank": 0,
 +
                    "point": "1,2",
 +
                    "average": "[\"1,1\",\"1,3\"]"
 +
                },
 +
                {
 +
                    "LAT": "33.143148973691",
 +
                    "LON": "-96.71656691237",
 +
                    "rank": 0,
 +
                    "point": "1,3",
 +
                    "average": "[]"
 +
                },
 +
                {
 +
                    "LAT": "33.143148973691",
 +
                    "LON": "-96.716547904123",
 +
                    "rank": 0,
 +
                    "point": "1,4",
 +
                    "average": "[\"1,3\",\"1,5\"]"
 +
                }
 +
            ],
 +
            "LAT": "33.1430933",
 +
            "LON": "-96.7165384",
 +
            "grid_distance": 15
 +
        }
 +
    ]
 +
}
 +
 +
=== API Endpoint to Start Tracking Keyword ===
 +
You can add new keywords and location to start tracking.  The keywords to not have to match the keywords of your client data.  The location can be different as well.  For example, your business may be in Dallas Texas but you may wish to start tracking keyword rankings for the neighboring city of McKinney Texas.
 +
<syntaxhighlight lang="html">
 +
https://p.lssdev.com/legacykeywords/{clientid}
 +
</syntaxhighlight>
 +
 +
=== Example Request ===
 +
<syntaxhighlight lang="php">
 +
POST /legacykeywords/3782992 HTTP/1.1
 +
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
 +
{ keyword }
 +
 +
</syntaxhighlight>
 +
 +
=== Example Response ===
 +
<syntaxhighlight lang="json">
 +
 +
{
 +
    "status": 200,
 +
    "success": true,
 +
    "error": null,
 +
    "data": {
 +
        "url": "www.primpedpooches.com",
 +
        "tools": [
 +
            {
 +
                "tool": "tracking"
 +
            }
 +
        ],
 +
        "project_id": 15574797,
 +
        "project_name": "Primped Pooches Mobile Dog Spa",
 +
        "campaign_id": "15574797_1654562",
 +
        "competitors": [],
 +
        "keywords": [
 +
            {
 +
                "keyword": "pooches",
 +
                "tags": [],
 +
                "timestamp": 1707425315
 +
            },
 +
            {
 +
                "keyword": "grooming",
 +
                "tags": [],
 +
                "timestamp": 1707425548
 +
            }
 +
        ]
 +
    }
 +
}
 +
 +
</syntaxhighlight>
 +
 +
=== API Endpoint to Delete Single Keyword ===
 +
This will delete a single keyword from the list of keyword campaigns from the
 +
 +
<syntaxhighlight lang="html">
 +
https://p.lssdev.com/legacykeywords/{clientid}
 +
</syntaxhighlight>
 +
 +
=== Example Request ===
 +
<syntaxhighlight lang="php">
 +
DELETE /legacykeywords/3782992 HTTP/1.1
 +
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
 +
{ keyword }
 +
 +
</syntaxhighlight>
 +
 +
=== Example Response ===
 +
<syntaxhighlight lang="json">
 +
 +
{
 +
    "status": 200,
 +
    "success": true,
 +
    "error": null,
 +
    "data": true
 +
}
 +
 +
</syntaxhighlight>
 +
 +
 +
=== API Endpoint to Reset All Keywords ===
 +
If you wish to stop all the tracking campaigns, you can call this reset endpoint which will re-allocate the number any keyword campaigns you have per your location.
 +
<syntaxhighlight lang="html">
 +
https://p.lssdev.com/legacykeywords/{clientid}
 +
</syntaxhighlight>
 +
 +
=== Example Request ===
 +
<syntaxhighlight lang="php">
 +
DELETE /legacykeywords/3782992 HTTP/1.1
 +
Host: p.lssdev.com
 +
x-api-token: YOUR_API_KEY
 +
Content-Type: application/json
 +
</syntaxhighlight>
 +
 +
=== Example Response ===
 +
<syntaxhighlight lang="json">
 +
 +
{
 +
    "status": 200,
 +
    "success": true,
 +
    "error": null,
 +
    "data": true
 +
}
 +
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 12:50, 23 April 2024

Get Client Report

This endpoint will return a large object that contains data.overview and data.data properties. Within each of those properties is baseline data, and optionally monthly progress data if the location is active with products and services. The overview section corresponds to the scores that can be seen on the baseline report within the dashboards. The data.data property has the individual scores and flags for each directory and local scan.

API Endpoint

http://p.lssdev.com/legacyclients/{client_id}/report

Example Request

GET /legacyclients/3201926/report HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "baseline_version": "jazz",
        "overview": {
            "baselineOverview": {
                "bingScore": 93,
                "directoriesScore": 31,
                "googleScore": 100,
                "localsScore": 96,
                "napScore": 39,
                "visibilityScore": 59,
                "yelpScore": 94,
                "voiceScore": 72,
                "localsScoreTotal": 287,
                "localsTotal": 3,
                "localsFound": 3,
                "localsNapScore": 96,
                "localsNapTotal": 287,
                "directoriesTotal": 42,
                "directoriesFound": 13,
                "directoriesNapScore": 35,
                "directoriesNapTotal": 1446,
                "voiceTotal": 5,
                "voiceFound": 4
            }
        },
        "data": {
            "baseline": {
                "locals": [
                    {
                        "product": "Bing local",
                        "directory": "bing",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bing.png",
                        "found": true,
                        "score": 93,
                        "claimed": false,
                        "hours": true,
                        "date": "2021-01-06T21:24:48.000Z",
                        "categories": 0,
                        "reviews": 24,
                        "photos": 1,
                        "website": "https://www.kellysartshack.com/",
                        "link": "https://www.bing.com/maps?ss=ypid.YN873x2705681487866994578",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, McKinney, TX 75069",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Google",
                        "directory": "google",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png",
                        "found": true,
                        "score": 100,
                        "claimed": true,
                        "hours": true,
                        "date": "2021-01-06T21:24:46.000Z",
                        "categories": 2,
                        "reviews": 5,
                        "photos": 1,
                        "website": "https://www.kellysartshack.com/",
                        "link": "https://maps.google.com/?cid=14732555693742418082",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack & Events",
                        "address": "312 E Cloyd St, McKinney, TX 75069, USA",
                        "nap": {
                            "name": 100,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Yelp",
                        "directory": "yelp",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png",
                        "found": true,
                        "score": 94,
                        "claimed": true,
                        "hours": true,
                        "date": "2021-01-06T21:24:46.000Z",
                        "categories": 7,
                        "reviews": 2,
                        "photos": 1,
                        "website": "kellysartshack.com",
                        "link": "https://www.yelp.com/biz/kellys-art-shack-mckinney-2",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack",
                        "address": "312 E Cloyd St, McKinney, TX 75069",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    }
                ],
                "directories": [
                    {
                        "product": "Alignable",
                        "type": "directory",
                        "directory": "alignable",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/alignable.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Apple",
                        "type": "ftp",
                        "directory": "apple",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/apple.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Brownbook",
                        "directory": "brownbook",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:48.000Z",
                        "link": "https://brownbook.net/business/46687008/kellys-art-shack",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Bubblelife",
                        "directory": "bubblelife",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bubblelife.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:48.000Z",
                        "link": "http://directory.bubblelife.com/listing/351732674/Kellys_Art_Shack",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Cataloxy",
                        "type": "directory",
                        "directory": "cataloxy",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cataloxy.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Chamberofcommerce",
                        "directory": "chamberofcommerce",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/chamberofcommerce.png",
                        "found": true,
                        "score": 80,
                        "type": "directory",
                        "date": "2021-01-06T21:24:46.000Z",
                        "link": "https://www.chamberofcommerce.com/united-states/texas/mckinney/art-studios/2011504185-kellys-art-shack",
                        "name": "Kelly's Art ShackKelly's Art Shack",
                        "address": "312 East Cloyd Street Mckinney, TX 75069, 312 East Cloyd Street Mckinney, TX 75069",
                        "phone": "(214) 935-8891(214) 935-8891",
                        "nap": {
                            "name": 71,
                            "address": 68,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Citysearch",
                        "type": "directory",
                        "directory": "citysearch",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysearch.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Citysquares",
                        "directory": "citysquares",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysquares.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:46.000Z",
                        "link": "https://citysquares.com/b/kelly-s-art-shack-23512625",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, Texas, 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Cylex",
                        "directory": "cylex",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.cylex.us.com/company/kelly%27s-art-shack-28002736.html",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Dataprovider",
                        "type": "aggregator",
                        "directory": "dataprovider",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dataprovider.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Dnb",
                        "type": "ftp",
                        "directory": "dnb",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dnb.png",
                        "found": false,
                        "date": "2021-01-06T21:24:57.000Z"
                    },
                    {
                        "product": "Ebusinesspages",
                        "directory": "ebusinesspages",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ebusinesspages.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:57.000Z",
                        "link": "http://ebusinesspages.com/Kellys-Art-Shack_e4bp6.co",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Elocal",
                        "directory": "elocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/elocal.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:51.000Z",
                        "link": "https://www.elocal.com/profile/kellya-s-art-shack-20346625/#!/category=319",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "214-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Enrollbusiness",
                        "type": "directory",
                        "directory": "enrollbusiness",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/enrollbusiness.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Expressbusinessdirectory",
                        "type": "directory",
                        "directory": "expressbusinessdirectory",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/expressbusinessdirectory.png",
                        "found": false,
                        "date": "2021-01-06T21:24:51.000Z"
                    },
                    {
                        "product": "Ezlocal",
                        "type": "directory",
                        "directory": "ezlocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ezlocal.png",
                        "found": false,
                        "date": "2021-01-06T21:24:46.000Z"
                    },
                    {
                        "product": "Factual",
                        "type": "directory",
                        "directory": "factual",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/factual.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Findopen",
                        "type": "directory",
                        "directory": "findopen",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/findopen.png",
                        "found": false,
                        "date": "2021-01-06T21:24:44.000Z"
                    },
                    {
                        "product": "Foursquare",
                        "directory": "foursquare",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/foursquare.png",
                        "found": true,
                        "score": 94,
                        "type": "aggregator",
                        "date": "2021-01-06T21:24:51.000Z",
                        "link": "https://foursquare.com/v/kellys-art-shack/5d553f77e8791a0008842e43",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069, United States",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Here",
                        "type": "directory",
                        "directory": "here",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/here.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Hotfrog",
                        "type": "directory",
                        "directory": "hotfrog",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hotfrog.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Hubbiz",
                        "type": "directory",
                        "directory": "hubbiz",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hubbiz.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Ibegin",
                        "directory": "ibegin",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ibegin.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:44.000Z",
                        "link": "https://www.ibegin.com/directory/visit/17037905",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, Texas 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Infobel",
                        "directory": "infobel",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infobel.png",
                        "found": true,
                        "score": 59,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.us-info.com/en/usa/kelly_s_art_shack/mckinney/USTX102328767-2149358891/businessdetails.aspx",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, 75069 McKinney, Texas",
                        "phone": "xIjh3b3+UefOQSaI5zdaQbBDIlsYdssNpJf2njXaJhY=",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 0
                        }
                    },
                    {
                        "product": "Infogroup",
                        "type": "aggregator",
                        "directory": "infogroup",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infogroup.png",
                        "found": false,
                        "date": "2021-01-06T21:24:58.000Z"
                    },
                    {
                        "product": "Invalid",
                        "type": "directory",
                        "directory": "invalid",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/invalid.png",
                        "found": false,
                        "date": "2021-01-06T21:24:50.000Z"
                    },
                    {
                        "product": "Judysbook",
                        "directory": "judysbook",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.judysbook.com/Kellys-Art-Shack-Art-Studios-mckinney-tx-r39944456.htm",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Localeze",
                        "directory": "localeze",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localeze.png",
                        "found": true,
                        "score": 93,
                        "type": "aggregator",
                        "date": "2021-01-06T21:24:42.000Z",
                        "link": "https://www.neustarlocaleze.biz/directory/us/tx/mckinney/kellys-art-shack/906054103/",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, Mckinney, TX, 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Localmint",
                        "type": "directory",
                        "directory": "localmint",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localmint.png",
                        "found": false,
                        "date": "2021-01-06T21:24:44.000Z"
                    },
                    {
                        "product": "Localstack",
                        "directory": "localstack",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localstack.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://localstack.com/biz/kellys-art-shack-mckinney-tx/3568539",
                        "name": "Kellys Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Merchantcircle",
                        "directory": "merchantcircle",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/merchantcircle.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:50.000Z",
                        "link": "https://www.merchantcircle.com/kelly-s-art-shack-mckinney-tx",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "214-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "N49",
                        "type": "directory",
                        "directory": "n49",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/n49.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Opendi",
                        "type": "directory",
                        "directory": "opendi",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/opendi.png",
                        "found": false,
                        "date": "2021-01-06T21:24:59.000Z"
                    },
                    {
                        "product": "Showmelocal",
                        "directory": "showmelocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:50.000Z",
                        "link": "https://www.showmelocal.com/profile.aspx?bid=23095653",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, TX, 75069",
                        "phone": "(214)935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Sitecards",
                        "type": "directory",
                        "directory": "sitecards",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/sitecards.png",
                        "found": false,
                        "date": "2021-01-06T21:24:50.000Z"
                    },
                    {
                        "product": "Superpages",
                        "type": "directory",
                        "directory": "superpages",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/superpages.png",
                        "found": false,
                        "date": "2021-01-06T21:24:48.000Z"
                    },
                    {
                        "product": "Tupalo",
                        "type": "directory",
                        "directory": "tupalo",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/tupalo.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Uscity",
                        "type": "directory",
                        "directory": "uscity",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/uscity.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Verizon411",
                        "type": "ftp",
                        "directory": "verizon411",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/verizon411.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Whereto",
                        "type": "directory",
                        "directory": "whereto",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/whereto.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Wherezit",
                        "type": "directory",
                        "directory": "wherezit",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/wherezit.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Yasabe",
                        "directory": "yasabe",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yasabe.png",
                        "found": true,
                        "score": 86,
                        "type": "directory",
                        "date": "2021-01-06T21:24:42.000Z",
                        "link": "https://www.dev.yasabe.com/en/mckinney-tx/d-1000000963797-kellys-art-shack.html",
                        "name": "Kellys Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX",
                        "phone": "(214)-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 75,
                            "phone": 100
                        }
                    }
                ],
                "voice": [
                    {
                        "device": "google",
                        "name": "Google Assistant",
                        "score": 100,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google-home.png"
                    },
                    {
                        "device": "siri",
                        "name": "Apple Siri",
                        "score": 0,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Siri-logo.png"
                    },
                    {
                        "device": "bixby",
                        "name": "Samsung Bixby",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Bixby.png"
                    },
                    {
                        "device": "alexa",
                        "name": "Amazon Alexa",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/amazon-alexa.png"
                    },
                    {
                        "device": "cortana",
                        "name": "Microsoft Cortana",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cortana-logo.png"
                    }
                ]
            }
        },
        "products": []
    }
}

General Rollup Report

This endpoint returned client rollup report averages, sum totals, and count.

API Endpoint

https://praxis.lssdev.com/api/v2/partner/{partner_id}/rollup/get-scores/

Example Request

GET /api/v2/partner/{partner_id}/rollup/get-scores/ HTTP/1.1
Host: praxis.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "avgs": {
        "baseline_accurate": 5,
        "baseline_acuracy": 92,
        "baseline_directory": 20,
        "baseline_inaccurate": 30,
        "baseline_local": 41,
        "baseline_monitored": 35,
        "baseline_nap": 28,
        "baseline_presence": 14,
        "baseline_present": 5,
        "baseline_visibility": 28,
        "monthly_accuracy": 92,
        "monthly_accurate": 38,
        "monthly_bing": 59,
        "monthly_google": 49,
        "monthly_inaccurate": 3,
        "monthly_local": 49,
        "monthly_monitored": 42,
        "monthly_nap": 81,
        "monthly_presence": 95,
        "monthly_present": 40,
        "monthly_visivility": 81,
        "monthly_yelp": 40,
        "montlhy_directory": 98
    },
    "count": 211,
    "totals": {
        "baseline_accurate": 1004,
        "baseline_acuracy": 19349,
        "baseline_directory": 4232,
        "baseline_inaccurate": 6325,
        "baseline_local": 8744,
        "baseline_monitored": 7329,
        "baseline_nap": 5813,
        "baseline_presence": 3049,
        "baseline_present": 1140,
        "baseline_visibility": 5809,
        "monthly_accuracy": 19349,
        "monthly_accurate": 8113,
        "monthly_bing": 12349,
        "monthly_google": 10408,
        "monthly_inaccurate": 693,
        "monthly_local": 10414,
        "monthly_monitored": 8806,
        "monthly_nap": 17072,
        "monthly_presence": 20059,
        "monthly_present": 8404,
        "monthly_visivility": 17068,
        "monthly_yelp": 8494,
        "montlhy_directory": 20692
    }
}


Insight Data

This endpoint provides historical data for insights provided by Google My Business if enabled and activated. Dates can be filtered using where clauses in the as a JSON parameter like where={ recordedAt: { ">": "2020-03-01" } }. The same type of logic can be applied to multiple data points. When calling for multiple data points, it is important to included the ?limit and ?skip parameters to properly pagination results to improve performance. Insight data requires the partner key of the corresponding client/location.

API Endpoint

https://p.lssdev.com/legacyinsightdata?client={clientid}

Example Request

GET /legacyinsightdata?client={clientid} HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": [
        {
            "client": 123,
            "partner": 123456,
            "id": 3,
            "store_code": 0,
            "LA_score": 36,
            "brand_score": 0,
            "influence_score": 100,
            "listing_score": 80,
            "reputation_score": 0,
            "engagement_score": 0,
            "website_visits": 0,
            "phone_calls_clicks": 0,
            "phone_calls_tracked": 0,
            "directions": 0,
            "calls_directions": 0,
            "conv_rate": 0,
            "total_conversions": 0,
            "avg_sale_price": 0,
            "potential_revenue": 0,
            "investment": 0,
            "potential_roi": 0,
            "review_rating": 0,
            "photo_views": 28,
            "discovery_impressions": 6,
            "direct_impressions": 0,
            "chain_impressions": 0,
            "search_impressions_from_chain": 0,
            "listing_views": 6,
            "total_calls": 0,
            "first_time_caller": 0,
            "duration_seconds": 0,
            "active_location": 0,
            "cost_per_location": 0,
            "total_impressions": 6,
            "total_actions": 0,
            "cost_per_actions": 0,
            "createdAt": "2020-05-14T19:26:58.000Z",
            "recordedAt": "2020-05-07T12:00:00.000Z",
            "updatedAt": "2020-05-14T19:27:31.000Z"
        }
    ]
}


Voice Data

This endpoint provides information on voice enabled locations via the AdVoice product. All 3 query parameters are required. Unlike the other endpoints in our system, there are no conditionals that you can include in the request. The data returned is always an aggregate. You are free to set any range you wish and the endpoint will provide the totals for you.

API Endpoint

https://p.lssdev.com/legacyvoicedata?client={clientid}&startDate={startDate}&endDate={endDate}

Example Request

GET /legacyvoicedata?client={clientid}&startDate=2020-01-01&endDate=2020-07-01 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "users_total": 115,
        "sessions_total": 210,
        "requests_total": 726,
        "users": [
            {
                "count": 41,
                "assistant": "GoogleAssistant"
            },
            {
                "count": 74,
                "assistant": "Alexa"
            }
        ],
        "requests": [
            {
                "count": 41,
                "assistant": "GoogleAssistant"
            },
            {
                "count": 74,
                "assistant": "Alexa"
            }
        ]
    }
}


Review Data

This endpoint provides a large JSON object with aggregate statistics as well as a sample set of recent review objects. This endpoint is only available for locations with active orders.

API Endpoint

https://p.lssdev.com/legacyclients/{clientid}/reviews

Example Request

GET /legacyclients/3782992/reviews HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "reviews": 21,
        "score": {
            "total": 4.85,
            "months_1": 4.85,
            "months_6": 4.85
        },
        "recency": {
            "total": 0,
            "week_1": 0,
            "months_1": 0,
            "months_2": 0,
            "months_3": 0
        },
        "sentiment": {
            "positive": 75,
            "above_average": 0,
            "neutral": 0,
            "below_average": 1,
            "negative": 0
        },
        "sources": [
            {
                "name": "BrownBook",
                "score": 2,
                "reviews": 1,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png"
            },
            {
                "name": "Cylex USA",
                "score": 0,
                "reviews": 0,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png"
            },
            {
                "name": "Google",
                "score": 5,
                "reviews": 17,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png"
            },
            {
                "name": "Judy's Book",
                "score": 0,
                "reviews": 0,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png"
            },
            {
                "name": "ShowMeLocal",
                "score": 0,
                "reviews": 0,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png"
            },
            {
                "name": "Yelp",
                "score": 5,
                "reviews": 3,
                "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png"
            }
        ],
        "data": [
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "Alison Thornton",
                "sentiment": null,
                "score": 5,
                "comment": "I had an incredible experience at Kelly's Art Shack & Events! The venue was perfect for hosting birthday parties, and the karaoke added a fantastic touch of entertainment. The Arty Party was a blast, and I thoroughly enjoyed painting a lively Tuscan scene. Kelly's Art Shack & Events is definitely a downtown McKinney gem for art enthusiasts and party-goers alike!",
                "replied": true,
                "id": 33407619,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqlx3ckOFtjqB498fIWRyzY-ZtOLhRez8hkzFFG2UKCgv0vKhhLwah4HVopX5mfB4nZbJ0YU",
                "reviewedAt": "2023-06-02T17:07:50.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "Paul Grossman",
                "sentiment": null,
                "score": 5,
                "comment": "Breathtaking art!!! A wonderful place to see, learn from, and grow.",
                "replied": true,
                "id": 33407620,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqkxwZH_GD9qMaCuVB4zGt2I5sXuRgi0_ok4nmkfASBHP-bLtEhuz7BvyNihW38XI5tSHns3",
                "reviewedAt": "2023-02-16T21:50:47.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "Linda Nunn",
                "sentiment": null,
                "score": 5,
                "comment": "Kelly is an amazing artist . I have purchased many canvases from her. In addition , she hosts events and is very involved with McKinney life. She features fellow artists as well and promotes great local bands. It is a fun place to visit or book a birthday party or commission Kelly for a mural or canvas for your home.",
                "replied": true,
                "id": 33407616,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqn4jpaktJNV_A6i4LKWAt1MTuP8uZuzCm0nWmxWDPcCxjmaTP8ZctiJqkMyHHtGkeBHHXOrKw",
                "reviewedAt": "2022-09-13T11:09:29.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "Letitia Sanchez",
                "sentiment": null,
                "score": 5,
                "comment": "Kelly is a wonderful, professional artist who is a dream to collaborate with. Her art gallery and event venue is a beautiful space.\n\nTonight, Kelly's Art Gallery was the location for Joyland's Speakeasy paint and sip party. Poppy's Wings served catfish with truffle mac & cheese and baked beans. Folks, GET YOU SOME OF EVERYTHING!!!! Run, don't walk.",
                "replied": true,
                "id": 33407632,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqlWgPK8K77bs21PrqgpOohRorsbnmX9z5eljUPLitkBtdluw3-UCqoUVaQLtAVfZvrFPkLF",
                "reviewedAt": "2022-08-14T04:55:28.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "Joseph Ortiz",
                "sentiment": null,
                "score": 5,
                "comment": "",
                "replied": true,
                "id": 33407628,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqns8q_enfIwdmCMasU8OjeiyHAYZopnNUdB-wo9kUmHVC_2PfpduCvKAntwXiwv0T6oUM4YJA",
                "reviewedAt": "2022-08-03T16:46:36.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "brownbook",
                "url": "https://www.brownbook.net/business/49380379/kellys-art-shack-events",
                "reviewer": "Dr. Franklin Perry",
                "sentiment": null,
                "score": 2,
                "comment": "Did a great job on my commissioned artwork",
                "replied": false,
                "id": 38046,
                "createdAt": "2022-09-21T17:59:05.000Z",
                "reviewKey": "603793",
                "reviewedAt": "2022-05-03T19:18:52.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147837",
                "reviewer": "William Marcus",
                "sentiment": null,
                "score": 5,
                "comment": "The fitters came on time, worked quickly and cleanly. Care and operation of the air conditioner were also explained to us in a way that was easy to understand. Thanks a lot for Air Track. Gladly again.",
                "replied": false,
                "id": 21,
                "createdAt": "2022-06-21T21:47:58.000Z",
                "reviewKey": "CA147837",
                "reviewedAt": "2022-03-07T10:16:46.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147599",
                "reviewer": "Jay J. Jones",
                "sentiment": null,
                "score": 5,
                "comment": "Just had Air track Inc in to replace an old HVAC unit. Director Frank was outstanding! He’s honest, gives you his opinion yet respects your needs. Extremely kind and courteous with almost 40 years of experience, the work completed was outstanding. Definitely recommend them.",
                "replied": false,
                "id": 24,
                "createdAt": "2022-06-21T21:47:58.000Z",
                "reviewKey": "CA147599",
                "reviewedAt": "2022-01-18T12:16:57.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "google",
                "url": "https://search.google.com/local/reviews?placeid=ChIJBQbtuH8TTIYRougs11iNdMw",
                "reviewer": "latasha whalen",
                "sentiment": null,
                "score": 5,
                "comment": "",
                "replied": true,
                "id": 33407622,
                "createdAt": "2023-07-12T05:47:07.000Z",
                "reviewKey": "AbFvOqmp3Rwzi0ReMLaVJWUe163LOHL6ke9xgJOZD_vHMqn-q74IEl7P9qVYLd1fiPvBgCs8a-wv",
                "reviewedAt": "2022-01-09T00:35:09.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147474",
                "reviewer": "Kyle Butler",
                "sentiment": null,
                "score": 5,
                "comment": "Excellent Service; after accepting a detailed quote from Frank, our replacement combo boiler was installed 3 days later. They demonstrated how to manage the boiler &amp; wireless controller before removing the old boiler &amp; tidying up before leaving.. I would definitely recommend Air Track Inc.",
                "replied": false,
                "id": 37,
                "createdAt": "2022-06-21T21:48:02.000Z",
                "reviewKey": "CA147474",
                "reviewedAt": "2021-12-29T18:18:37.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147452",
                "reviewer": "Ivan Cohen",
                "sentiment": null,
                "score": 5,
                "comment": "Fantastic throughout. Very professional, kept us well informed, worked well with the other people working on our basement and took a huge amount of pride in their work. Very highly recommended.",
                "replied": false,
                "id": 41,
                "createdAt": "2022-06-21T21:48:03.000Z",
                "reviewKey": "CA147452",
                "reviewedAt": "2021-12-24T11:38:14.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147355",
                "reviewer": "Christopher Fonville",
                "sentiment": null,
                "score": 5,
                "comment": "Excellent service..My 5 month old boiler stopped working. Frank turned up on time , resolved the problem really quickly,it wasnt the boiler but one of two options, both of he pointed out to me and were a quick fix . Thank you for your help and time .",
                "replied": false,
                "id": 39,
                "createdAt": "2022-06-21T21:48:02.000Z",
                "reviewKey": "CA147355",
                "reviewedAt": "2021-12-01T13:37:21.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147345",
                "reviewer": "Kristen Spearman",
                "sentiment": null,
                "score": 5,
                "comment": "I recommend Air Track Inc to everyone. They fulfilled the agreement with excellence of professionalism. Excellent professional!  They handle the equipment very carefully to protect the same. Attentive, punctual, clean service. I confirm the other positive evaluations of this professional. Also for the fast service for getting it done. We were so pleased with their service and we used them again.",
                "replied": false,
                "id": 27,
                "createdAt": "2022-06-21T21:47:59.000Z",
                "reviewKey": "CA147345",
                "reviewedAt": "2021-11-30T10:42:22.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147192",
                "reviewer": "Maverick Erickson",
                "sentiment": null,
                "score": 5,
                "comment": "Customer service is still very important here - friendly, competent and punctual. Thank you Air Track.",
                "replied": false,
                "id": 1,
                "createdAt": "2022-06-21T21:47:55.000Z",
                "reviewKey": "CA147192",
                "reviewedAt": "2021-11-08T10:53:58.000Z"
            },
            {
                "client": 3782992,
                "partner": 45803,
                "batch": null,
                "provider": "cylex",
                "url": "https://www.cylex-canada.ca/company/air-track-inc-23498654.html#rev147122",
                "reviewer": "Roman Prince",
                "sentiment": null,
                "score": 5,
                "comment": "Air Track team work was good.Great expertise - especially when it comes to air conditioning systems from Our Company. Fair in price. You are in good hands there!. Thanks to Air Track INC.",
                "replied": false,
                "id": 5,
                "createdAt": "2022-06-21T21:47:55.000Z",
                "reviewKey": "CA147122",
                "reviewedAt": "2021-10-26T12:30:42.000Z"
            }
        ],
        "summaries": [
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "brownbook",
                "rating": 2,
                "id": 98,
                "createdAt": "2022-07-26T00:28:51.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T07:03:08.000Z",
                "reviews": 1,
                "maxRating": 2
            },
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "cylex",
                "rating": 0,
                "id": 6,
                "createdAt": "2022-07-25T22:26:56.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T07:03:39.000Z",
                "reviews": 0,
                "maxRating": 0
            },
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "google",
                "rating": 5,
                "id": 25028,
                "createdAt": "2022-09-06T17:19:06.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T07:02:42.000Z",
                "reviews": 17,
                "maxRating": 5
            },
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "judysbook",
                "rating": 0,
                "id": 83,
                "createdAt": "2022-07-26T00:25:35.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T06:58:02.000Z",
                "reviews": 0,
                "maxRating": 0
            },
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "showmelocal",
                "rating": 0,
                "id": 95,
                "createdAt": "2022-07-26T00:28:51.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T07:03:13.000Z",
                "reviews": 0,
                "maxRating": 0
            },
            {
                "client": 3782992,
                "partner": 45803,
                "directory": "yelp",
                "rating": 5,
                "id": 24709,
                "createdAt": "2022-09-06T17:18:29.000Z",
                "errorAt": null,
                "updatedAt": "2023-12-15T07:01:46.000Z",
                "reviews": 3,
                "maxRating": 5
            }
        ]
    }
}


Keyword Data

This endpoint provides reporting on keyword organic rankings as well as a map grid chart centered around the business.

API Endpoint

https://p.lssdev.com/legacykeywords/{clientid}

Example Request

GET /legacykeywords/3782992 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

{

   "status": 200,
   "success": true,
   "error": null,
   "data": [
       {
           "processing": false,
           "keyword": "groomers",
           "rank_starting": 36,
           "rank_ending": 36,
           "grid": [
               {
                   "LAT": "33.143148973691",
                   "LON": "-96.716604928864",
                   "rank": 0,
                   "point": "1,1",
                   "average": "[]"
               },
               {
                   "LAT": "33.143148973691",
                   "LON": "-96.716585920617",
                   "rank": 0,
                   "point": "1,2",
                   "average": "[\"1,1\",\"1,3\"]"
               },
               {
                   "LAT": "33.143148973691",
                   "LON": "-96.71656691237",
                   "rank": 0,
                   "point": "1,3",
                   "average": "[]"
               },
               {
                   "LAT": "33.143148973691",
                   "LON": "-96.716547904123",
                   "rank": 0,
                   "point": "1,4",
                   "average": "[\"1,3\",\"1,5\"]"
               }
           ],
           "LAT": "33.1430933",
           "LON": "-96.7165384",
           "grid_distance": 15
       }
   ]

}

API Endpoint to Start Tracking Keyword

You can add new keywords and location to start tracking. The keywords to not have to match the keywords of your client data. The location can be different as well. For example, your business may be in Dallas Texas but you may wish to start tracking keyword rankings for the neighboring city of McKinney Texas.

https://p.lssdev.com/legacykeywords/{clientid}

Example Request

POST /legacykeywords/3782992 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

{ keyword }

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "url": "www.primpedpooches.com",
        "tools": [
            {
                "tool": "tracking"
            }
        ],
        "project_id": 15574797,
        "project_name": "Primped Pooches Mobile Dog Spa",
        "campaign_id": "15574797_1654562",
        "competitors": [],
        "keywords": [
            {
                "keyword": "pooches",
                "tags": [],
                "timestamp": 1707425315
            },
            {
                "keyword": "grooming",
                "tags": [],
                "timestamp": 1707425548
            }
        ]
    }
}

API Endpoint to Delete Single Keyword

This will delete a single keyword from the list of keyword campaigns from the

https://p.lssdev.com/legacykeywords/{clientid}

Example Request

DELETE /legacykeywords/3782992 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

{ keyword }

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": true
}


API Endpoint to Reset All Keywords

If you wish to stop all the tracking campaigns, you can call this reset endpoint which will re-allocate the number any keyword campaigns you have per your location.

https://p.lssdev.com/legacykeywords/{clientid}

Example Request

DELETE /legacykeywords/3782992 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": true
}