Listings API · Schema
SocialPostPaginated
Business ListingsLocal SEOLocationReviewsGoogle Business ProfileAnalyticsCitation ManagementLocal MarketingSocial publishingMCPAgent-Native
Properties
| Name | Type | Description |
|---|---|---|
| records | array | |
| locationDetails | array | |
| pageInfo | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/listings-api/json-schema/listings-api-social-post-paginated-schema.json",
"title": "SocialPostPaginated",
"x-generated": "2026-11-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/listings-api-posts-api-openapi.yml#/components/schemas/SocialPostPaginated",
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"$ref": "#/$defs/SocialPostEs"
}
},
"locationDetails": {
"type": "array",
"items": {
"$ref": "#/$defs/LocationDetails"
}
},
"pageInfo": {
"$ref": "#/$defs/OffsetBasedPageInfo"
}
},
"required": [
"pageInfo"
],
"$defs": {
"LocationDetails": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"street2": {
"type": "string"
},
"city": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countryIso": {
"type": "string"
},
"stateIso": {
"type": "string"
},
"stateName": {
"type": "string"
},
"storeId": {
"type": "string"
}
},
"required": [
"id"
]
},
"MediaTypeEnum": {
"type": "string",
"enum": [
"IMAGE",
"VIDEO"
],
"description": "Media type for social posts."
},
"OffsetBasedPageInfo": {
"type": "object",
"properties": {
"totalPages": {
"type": "integer",
"format": "int32"
},
"hasNextPage": {
"type": "boolean"
},
"hasPreviousPage": {
"type": "boolean"
},
"totalRecords": {
"type": "integer",
"format": "int32"
}
},
"required": [
"totalPages",
"totalRecords"
]
},
"PostContextInfo": {
"type": "object",
"properties": {
"couponCode": {
"type": "string"
},
"redeemUrl": {
"type": "string"
},
"termsConditions": {
"type": "string"
},
"title": {
"type": "string"
},
"discount": {
"type": "string"
},
"locationType": {
"type": "string"
},
"startDay": {
"type": "string",
"format": "date"
},
"startTime": {
"type": "string"
},
"endDay": {
"type": "string",
"format": "date"
},
"endTime": {
"type": "string"
}
}
},
"PostCta": {
"type": "object",
"properties": {
"type": {
"$ref": "#/$defs/SiteCtaTypes"
},
"url": {
"type": "string"
},
"site": {
"$ref": "#/$defs/SitesType"
},
"tinyUrl": {
"type": "string"
}
}
},
"PostMessage": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"site": {
"$ref": "#/$defs/SitesType"
}
}
},
"PublishStatusEnum": {
"type": "string",
"enum": [
"PUBLISHING",
"PUBLISHED",
"DELETED",
"EXPIRED",
"ERROR"
],
"description": "Publish statuses per site."
},
"SiteCtaTypes": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
}
},
"SitesType": {
"type": "string",
"enum": [
"GOOGLE",
"FACEBOOK"
],
"description": "Sites a post can be published to."
},
"SocialPostEs": {
"type": "object",
"description": "Elasticsearch-indexed social post record used in rollup listings.",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"$ref": "#/$defs/SocialPostStatusEnum"
},
"type": {
"$ref": "#/$defs/SocialPostTypeEnum"
},
"createdAt": {
"type": "string",
"format": "date"
},
"deletedAt": {
"type": "string",
"format": "date"
},
"expiredAt": {
"type": "string",
"format": "date"
},
"scheduledStartDate": {
"type": "string",
"format": "date"
},
"scheduledEndDate": {
"type": "string",
"format": "date"
},
"views": {
"type": "integer",
"format": "int32"
},
"clicks": {
"type": "integer",
"format": "int32"
},
"shares": {
"type": "integer",
"format": "int32"
},
"reactions": {
"type": "integer",
"format": "int32"
},
"comments": {
"type": "integer",
"format": "int32"
},
"sites": {
"type": "array",
"items": {
"$ref": "#/$defs/SitesType"
}
},
"message": {
"type": "array",
"items": {
"$ref": "#/$defs/PostMessage"
}
},
"cta": {
"type": "array",
"items": {
"$ref": "#/$defs/PostCta"
}
},
"contextInfo": {
"$ref": "#/$defs/PostContextInfo"
},
"mediaUrl": {
"type": "array",
"items": {
"$ref": "#/$defs/SocialPostMedia"
}
},
"publishDetails": {
"type": "array",
"items": {
"$ref": "#/$defs/SocialPostPublishDetail"
}
},
"postLinks": {
"type": "array",
"items": {
"$ref": "#/$defs/SocialPostPublishedLink"
}
},
"locationIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"clientName": {
"type": "string"
}
},
"required": [
"id",
"name",
"status",
"type",
"createdAt",
"sites",
"locationIds"
]
},
"SocialPostMedia": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"site": {
"$ref": "#/$defs/SitesType"
},
"type": {
"$ref": "#/$defs/MediaTypeEnum"
}
}
},
"SocialPostPublishDetail": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/SitesType"
},
"status": {
"$ref": "#/$defs/PublishStatusEnum"
},
"createdDate": {
"type": "string",
"format": "date"
},
"publishedDate": {
"type": "string",
"format": "date"
},
"deletedDate": {
"type": "string",
"format": "date"
},
"expiredDate": {
"type": "string",
"format": "date"
},
"submissionError": {
"type": "string"
}
}
},
"SocialPostPublishedLink": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/SitesType"
},
"link": {
"type": "string"
}
}
},
"SocialPostStatusEnum": {
"type": "string",
"enum": [
"INPROGRESS",
"SCHEDULED",
"SUCCESS",
"ERROR",
"DELETED",
"EXPIRED"
],
"description": "Social Post lifecycle statuses."
},
"SocialPostTypeEnum": {
"type": "string",
"enum": [
"EVENT",
"OFFER",
"ANNOUNCEMENT",
"COVID19",
"PRODUCT"
],
"description": "Social Post types."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/listings-api-social-post-paginated"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.