# Local Business Listings Submission API (`listingsapi/local-business-listings-submission-api`) Actor

Submit, manage and sync business listings across 50+ directories, maps and search engines via one API. REST APIs for Local Search Citations, Reviews, Analytics and Posts.

- **URL**: https://apify.com/listingsapi/local-business-listings-submission-api.md
- **Developed by:** [Local Business Listings Submission API](https://apify.com/listingsapi) (community)
- **Categories:** SEO tools, Developer tools, Integrations
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Local Business Listings Submission API by Listings API

Submit, manage and distribute accurate **business listing data** across **50+ listing sites**: the search engines, maps, GPS/voice assistants and directories people use to find local businesses, all from one API with no code required.

This Actor wraps the full REST API. Pick an **operation**, add your parameters, run it, and the results are saved to the dataset. Keep every business's **name, address, phone, hours, categories and photos** consistent everywhere. That consistency is the foundation of **local SEO**, map-pack visibility and customer trust.

### What you need

A **Listings API account and an API key**. Create one at **https://listingsapi.com**. You use your Listings API key, so the Actor acts as you and respects your plan's limits.

### Input

| Field | Required | Description |
|---|---|---|
| `apiKey` | Yes | Your Listings API key (stored as a secret). |
| `operation` | Yes | The endpoint to call. Pick from the dropdown (locations, listings, posts, reviews, analytics). |
| `pathParams` | No | Values for path placeholders, e.g. `{ "locationId": "123" }`. |
| `query` | No | Query-string parameters, e.g. `{ "limit": 50 }`. |
| `body` | No | JSON body for write operations (create/update). Ignored for GETs. |
| `paginate` | No | For list endpoints, follow `pageInfo.hasNextPage` and collect every page. |
| `maxItems` | No | Stop after N items across pages (`0` = no limit). |

Results are written to the **dataset**, one row per item, and can be exported as JSON, CSV or Excel.

### Examples

**List locations**
```json
{ "apiKey": "<your key>", "operation": "allLocations", "query": { "limit": 50 }, "paginate": true }
````

**Get a location's photos** (path parameter)

```json
{ "apiKey": "<your key>", "operation": "mediaFilesOfLocation", "pathParams": { "locationId": "123" } }
```

**Create a location** (write, JSON body)

```json
{
  "apiKey": "<your key>",
  "operation": "createLocation",
  "body": { "input": { "name": "Acme Dental", "description": "...", "subCategoryId": 743, "countryIso": "US", "city": "Austin" } }
}
```

The exact `body` and `query` shape for each operation is in the [Listings API reference](https://docs.listingsapi.com). This Actor forwards them as-is.

### Output

List responses are unwrapped into individual dataset rows. Non-2xx responses stop the run and are reported cleanly (status, error code and message), with the full response saved as one `{ "_error": true, ... }` record for debugging.

### Docs & support

Full endpoint reference and guides: **https://docs.listingsapi.com**. More info: **https://www.listingsapi.com**

# Actor input Schema

## `apiKey` (type: `string`):

Your Listings API key. Create one at https://listingsapi.com/dashboard/api-keys. Sent as `Authorization: API <key>`.

## `operation` (type: `string`):

Which Listings API endpoint to call.

## `pathParams` (type: `object`):

Values for path placeholders, e.g. { "locationId": "123" }. Required for operations whose path contains an id.

## `query` (type: `object`):

Query-string parameters as key/value pairs, e.g. { "limit": 50 }.

## `body` (type: `object`):

JSON body for write operations (create/update). Ignored for read-only GET operations.

## `paginate` (type: `boolean`):

For list endpoints, follow pageInfo.hasNextPage and collect every page into the dataset.

## `maxItems` (type: `integer`):

Stop after collecting this many items across pages. 0 means no cap.

## `cursorParam` (type: `string`):

Query parameter used to pass the pagination cursor (Relay-style; default 'after').

## `baseUrl` (type: `string`):

Only change this for testing against a non-production environment.

## Actor input object example

```json
{
  "pathParams": {},
  "query": {},
  "body": {},
  "paginate": false,
  "maxItems": 0,
  "cursorParam": "after",
  "baseUrl": "https://listingsapi.com"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("listingsapi/local-business-listings-submission-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("listingsapi/local-business-listings-submission-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call listingsapi/local-business-listings-submission-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=listingsapi/local-business-listings-submission-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Local Business Listings Submission API",
        "description": "Submit, manage and sync business listings across 50+ directories, maps and search engines via one API. REST APIs for Local Search Citations, Reviews, Analytics and Posts.",
        "version": "0.2",
        "x-build-id": "HjX3J7Rpe5TegfNp9"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/listingsapi~local-business-listings-submission-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-listingsapi-local-business-listings-submission-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/listingsapi~local-business-listings-submission-api/runs": {
            "post": {
                "operationId": "runs-sync-listingsapi-local-business-listings-submission-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/listingsapi~local-business-listings-submission-api/run-sync": {
            "post": {
                "operationId": "run-sync-listingsapi-local-business-listings-submission-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "apiKey",
                    "operation"
                ],
                "properties": {
                    "apiKey": {
                        "title": "Listings API key",
                        "type": "string",
                        "description": "Your Listings API key. Create one at https://listingsapi.com/dashboard/api-keys. Sent as `Authorization: API <key>`."
                    },
                    "operation": {
                        "title": "Operation",
                        "enum": [
                            "activeSubscriptions",
                            "bulkConnectLinkForFacebook",
                            "bulkConnectLinkForGoogle",
                            "confirmConnectMatches",
                            "connectedAccountDetails",
                            "connectedAccountsInfo",
                            "connectedAccountsTriggerMatches",
                            "connectionSuggestionsForAccount",
                            "connectListing",
                            "createGmbListingForLocation",
                            "createLocationFromConnectedAccountListing",
                            "disconnectConnectedAccountListing",
                            "fbBulkDisconnect",
                            "getFoldersUnderGoogleAccount",
                            "gmbBulkDisconnect",
                            "connectedAccountListings",
                            "planSites",
                            "bingInsights",
                            "facebookInsights",
                            "googleInsights",
                            "duplicateListingsRollup",
                            "duplicateListingsForLocation",
                            "listingsForLocationPremium",
                            "voiceAssistantsForLocation",
                            "markAsDuplicate",
                            "markAsNotDuplicate",
                            "addLocationPhotos",
                            "allLocations",
                            "archiveLocations",
                            "cancelLocationsArchive",
                            "createLocation",
                            "getLocationsByIds",
                            "getLocationsByStoreCodes",
                            "subcategories",
                            "supportedCountries",
                            "starLocationPhotos",
                            "removeLocationPhotos",
                            "searchLocations",
                            "updateLocation",
                            "mediaFilesOfLocation",
                            "getLocationPhotosUploadStatus",
                            "createSocialPost",
                            "createBulkSocialPost",
                            "deleteSocialPost",
                            "socialPostView",
                            "socialPostViewBulk",
                            "rollupSocialPostsByLocation",
                            "rollupSocialPostsBulk",
                            "interactionsAnalyticsStats",
                            "archiveReviewResponse",
                            "editReviewResponse",
                            "interactionDetails",
                            "interactions",
                            "rollupInteractions",
                            "interactionsSetting",
                            "interactionSiteConfig",
                            "respondToInteraction"
                        ],
                        "type": "string",
                        "description": "Which Listings API endpoint to call."
                    },
                    "pathParams": {
                        "title": "Path parameters",
                        "type": "object",
                        "description": "Values for path placeholders, e.g. { \"locationId\": \"123\" }. Required for operations whose path contains an id.",
                        "default": {}
                    },
                    "query": {
                        "title": "Query parameters",
                        "type": "object",
                        "description": "Query-string parameters as key/value pairs, e.g. { \"limit\": 50 }.",
                        "default": {}
                    },
                    "body": {
                        "title": "Request body",
                        "type": "object",
                        "description": "JSON body for write operations (create/update). Ignored for read-only GET operations.",
                        "default": {}
                    },
                    "paginate": {
                        "title": "Auto-paginate",
                        "type": "boolean",
                        "description": "For list endpoints, follow pageInfo.hasNextPage and collect every page into the dataset.",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Max items (0 = no limit)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Stop after collecting this many items across pages. 0 means no cap.",
                        "default": 0
                    },
                    "cursorParam": {
                        "title": "Cursor query parameter",
                        "type": "string",
                        "description": "Query parameter used to pass the pagination cursor (Relay-style; default 'after').",
                        "default": "after"
                    },
                    "baseUrl": {
                        "title": "API base URL",
                        "type": "string",
                        "description": "Only change this for testing against a non-production environment.",
                        "default": "https://listingsapi.com"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
