For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.
Object of row and column audiences to make intersection from. If only one audience is queried then the base audience is taken as the second audience. If no audience is queried then base audience is taken for both row and column audiences.
Object of row and column audiences to make intersection from. If only one audience is queried then the base audience is taken as the second audience. If no audience is queried then base audience is taken for both row and column audiences.
List of wave codes to filter. If not set or empty, will default to last 4 accessible waves. This differs from other endpoints where the default is all accessible waves because of performance reasons.
Index to specific column audience defined by the request. If the value is equal to 0, then the audience used was "All base respondents".
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GWI","colors":{"primary":"#de1a76","light":"#de1a76","dark":"#de1a76"},"logo":{"light":"https://mintcdn.com/gwi-c45e8f9c/lDVzA75IGIMfShVe/assets/logo/light.png?fit=max\u0026auto=format\u0026n=lDVzA75IGIMfShVe\u0026q=85\u0026s=a6bcd3ee7012836c15db595bc15fa6ba","dark":"https://mintcdn.com/gwi-c45e8f9c/lDVzA75IGIMfShVe/assets/logo/image.png?fit=max\u0026auto=format\u0026n=lDVzA75IGIMfShVe\u0026q=85\u0026s=8456c9777f2fba42bbe71ea2b3cc65e3"},"favicon":"https://mintcdn.com/gwi-c45e8f9c/lDVzA75IGIMfShVe/assets/favicon.png?fit=max\u0026auto=format\u0026n=lDVzA75IGIMfShVe\u0026q=85\u0026s=bc00d0ea761fb62c7b6f2faa5fbf85b7","navbar":{"links":[],"primary":{"type":"button","label":"Book demo","href":"https://www.gwi.com/book-demo?hsCtaTracking=7c82d7ee-619d-4733-a627-993ccfc14df4%7C48400de7-7d3e-4ebf-bc0a-ee97f4420759"}},"footer":{"socials":{"x":"https://x.com/gwidotcom","instagram":"https://www.instagram.com/gwidotcom","linkedin":"https://www.linkedin.com/company/gwidotcom"}},"integrations":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gwi-c45e8f9c","hasAudioNarration":false,"actualSubdomain":"gwi-c45e8f9c","customDomains":["api.globalwebindex.com"],"gitSource":{"type":"github","owner":"globalwebindex","repo":"api-documentation","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae32027fa750f9207823097","collectionId":"afe0d2b5-d69e-4646-b4c7-aa858913c2eb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae32027fa750f9207823097"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae32027fa750f9207823097","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Platform API","count":117},{"language":"default","tag":"Getting started","count":55},{"language":"default","tag":"Reference","count":53},{"language":"default","tag":"Spark MCP","count":42},{"language":"default","tag":"Integration Guide","count":24},{"language":"default","tag":"Spark API","count":15},{"language":"default","tag":"Quickstarts","count":14},{"language":"default","tag":"Spark in AI assistants","count":12},{"language":"default","tag":"GWI Overview","count":10},{"language":"default","tag":"Audiences","count":9}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@charset \"UTF-8\";@font-face{font-family:'Faktum';src:url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-Thin.woff2) format('woff2'),url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-Thin.woff) format('woff');font-weight:100;font-style:normal;font-display:fallback}@font-face{font-family:'Faktum';src:url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-ThinItalic.woff2) format('woff2'),url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-ThinItalic.woff) format('woff');font-weight:100;font-style:italic;font-display:fallback}@font-face{font-family:'Faktum';src:url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-ExtraLight.woff2) format('woff2'),url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/Faktum-ExtraLight.woff) format('woff');font-weight:200;font-style:normal;font-display:fallback}@font-face{font-family:'Faktum';src:url(/assets/fonts/Faktum-Bold.woff2) format('woff2'),url(/assets/fonts/Faktum-Bold.woff) format('woff');font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:'PalmerLake-Print';src:url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/PalmerLake-Print.woff2) format('woff2'),url(https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/2020_theme/fonts/PalmerLake-Print.woff) format('woff');font-weight:400;font-style:normal;font-display:block}#content h1,#page-title{font-weight:700;font-style:normal}#content h1,#content h2,#content h3,#page-title{font-family:'Faktum',sans-serif}"}],"page":{"pagePath":"platform-api/reference/query/v2-crosstab-bulk-query","slug":"/platform-api/reference/query/v2-crosstab-bulk-query","pageMetadata":{"openapi":"post /v2/query/crosstab","title":"v2 Crosstab Bulk Query","description":"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.","href":"/platform-api/reference/query/v2-crosstab-bulk-query"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /v2/query/crosstab","title":"v2 Crosstab Bulk Query","description":"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.","href":"/platform-api/reference/query/v2-crosstab-bulk-query"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/gwi-c45e8f9c/7eece02f639a8407/intercom.js"],"openApiReferenceData":{"operation":{"operationId":"CrosstabQuery","summary":"v2 Crosstab Bulk Query","tags":["Query"],"description":"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.","requestBody":"8800f002-0aff-403f-92e5-2bf585f55a80","security":["b8f2f3b5-5029-4d43-b132-993fa4875b54"],"responses":{"200":"c11796be-ddc2-4d7f-a481-f05ad81c1b52","400":"6b78dc12-9a65-4a76-9331-93d0d20b4469","401":"5cafc88c-640c-4dfb-9bad-7dd7834a5b4f","403":"87e36c5e-36de-4d42-a58e-a747d8b69dde","500":"c7a52b24-1b2f-4a4d-a55c-a53f45236356"},"method":"post","type":"path","servers":["5d55041f-67dc-45ee-b0a7-55efdf9c34e7"],"path":"/v2/query/crosstab","baseUrlOptions":["https://api.globalwebindex.com"],"title":"v2 Crosstab Bulk Query","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Audiences and filters as parameters for Crosstab Builder metrics.","title":"Query","required":["audiences"],"properties":{"columns":{"type":"array","description":"Object of row and column audiences to make intersection from. If only one audience is queried then the base audience is taken as the second audience. If no audience is queried then base audience is taken for both row and column audiences.","items":{"type":"object","description":"Wrapper structure containing AudienceExpression.","title":"Audience","properties":{"id":{"type":"string","example":"134","uniqueKey":"columns.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","example":"my_audience","uniqueKey":"columns.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"columns.items.[INDEX].expression.and","typeLabel":"array"},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"columns.items.[INDEX].expression.or","typeLabel":"array"},"not":{"type":"boolean","description":"To use negation of the expression.","uniqueKey":"columns.items.[INDEX].expression.not","typeLabel":"boolean"},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2","uniqueKey":"columns.items.[INDEX].expression.question","typeLabel":"string"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string","uniqueKey":"columns.items.[INDEX].expression.datapoints.items.[INDEX]","typeLabel":"string"},"example":["q2_1","q2_2"],"uniqueKey":"columns.items.[INDEX].expression.datapoints","typeLabel":"string[]"},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string","uniqueKey":"columns.items.[INDEX].expression.suffixes.items.[INDEX]","typeLabel":"string"},"example":["1","2","3"],"uniqueKey":"columns.items.[INDEX].expression.suffixes","typeLabel":"string[]"},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1,"uniqueKey":"columns.items.[INDEX].expression.min_count","typeLabel":"integer"}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]},"uniqueKey":"columns.items.[INDEX].expression","typeLabel":"AudienceExpression · object"}},"uniqueKey":"columns.items.[INDEX]","typeLabel":"Audience · object"},"uniqueKey":"columns","typeLabel":"Audience · object[]"},"rows":{"type":"array","description":"Object of row and column audiences to make intersection from. If only one audience is queried then the base audience is taken as the second audience. If no audience is queried then base audience is taken for both row and column audiences.","items":{"type":"object","description":"Wrapper structure containing AudienceExpression.","title":"Audience","properties":{"id":{"type":"string","example":"133","uniqueKey":"rows.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","example":"my_audience","uniqueKey":"rows.items.[INDEX].name","typeLabel":"string"},"expression":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"rows.items.[INDEX].expression.and","typeLabel":"array"},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"rows.items.[INDEX].expression.or","typeLabel":"array"},"not":{"type":"boolean","description":"To use negation of the expression.","uniqueKey":"rows.items.[INDEX].expression.not","typeLabel":"boolean"},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2","uniqueKey":"rows.items.[INDEX].expression.question","typeLabel":"string"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string","uniqueKey":"rows.items.[INDEX].expression.datapoints.items.[INDEX]","typeLabel":"string"},"example":["q2_1","q2_2"],"uniqueKey":"rows.items.[INDEX].expression.datapoints","typeLabel":"string[]"},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string","uniqueKey":"rows.items.[INDEX].expression.suffixes.items.[INDEX]","typeLabel":"string"},"example":["1","2","3"],"uniqueKey":"rows.items.[INDEX].expression.suffixes","typeLabel":"string[]"},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1,"uniqueKey":"rows.items.[INDEX].expression.min_count","typeLabel":"integer"}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]},"uniqueKey":"rows.items.[INDEX].expression","typeLabel":"AudienceExpression · object"}},"uniqueKey":"rows.items.[INDEX]","typeLabel":"Audience · object"},"uniqueKey":"rows","typeLabel":"Audience · object[]"},"locations":{"type":"array","description":"List of location codes to filter.","items":{"type":"string","uniqueKey":"locations.items.[INDEX]","typeLabel":"string"},"example":["s2_1","s2_44"],"uniqueKey":"locations","typeLabel":"string[]"},"waves":{"type":"array","description":"List of wave codes to filter. If not set or empty, will default to last 4 accessible waves. This differs from other endpoints where the default is all accessible waves because of performance reasons.","items":{"type":"string","uniqueKey":"waves.items.[INDEX]","typeLabel":"string"},"example":["q1_2019","q2_2019","q3_2019","q4_2019"],"uniqueKey":"waves","typeLabel":"string[]"},"base_audience":{"type":"object","description":"Wrapper structure containing AudienceExpression.","title":"Audience","properties":{"id":{"type":"string","example":"135","uniqueKey":"base_audience.id","typeLabel":"string"},"name":{"type":"string","example":"my_audience","uniqueKey":"base_audience.name","typeLabel":"string"},"expression":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"base_audience.expression.and","typeLabel":"array"},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"base_audience.expression.or","typeLabel":"array"},"not":{"type":"boolean","description":"To use negation of the expression.","uniqueKey":"base_audience.expression.not","typeLabel":"boolean"},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2","uniqueKey":"base_audience.expression.question","typeLabel":"string"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string","uniqueKey":"base_audience.expression.datapoints.items.[INDEX]","typeLabel":"string"},"example":["q2_1","q2_2"],"uniqueKey":"base_audience.expression.datapoints","typeLabel":"string[]"},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string","uniqueKey":"base_audience.expression.suffixes.items.[INDEX]","typeLabel":"string"},"example":["1","2","3"],"uniqueKey":"base_audience.expression.suffixes","typeLabel":"string[]"},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1,"uniqueKey":"base_audience.expression.min_count","typeLabel":"integer"}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]},"uniqueKey":"base_audience.expression","typeLabel":"AudienceExpression · object"}},"uniqueKey":"base_audience","typeLabel":"Audience · object"}},"uniqueKey":"","typeLabel":"Query · object"},"examples":{"Example":{"title":"Example","value":{"columns":[{"id":"134","name":"my_audience","expression":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}}],"rows":[{"id":"133","name":"my_audience","expression":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}}],"locations":["s2_1","s2_44"],"waves":["q1_2019","q2_2019","q3_2019","q4_2019"],"base_audience":{"id":"135","name":"my_audience","expression":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}}}}},"exampleType":"generated"}},"description":"Crosstab query.","required":true,"exampleType":"generated"},"responses":{"c11796be-ddc2-4d7f-a481-f05ad81c1b52":{"description":"Unordered stream of query responses as json objects.","content":{"application/json-seq":{"schema":{"type":"object","description":"Result for an intersection of row and column audiences identified by its index starting from 0.","title":"QueryResult","required":["audiences","base","intersect"],"properties":{"audiences":{"type":"object","properties":{"row":{"type":"object","description":"Metrics of queried audience.","title":"QueryAudienceResult","required":["audience","size","sample","percentage","intersect_percentage"],"properties":{"audience":{"type":"string","description":"Identifier of the audience according to the query.","isRequired":true,"uniqueKey":"audiences.row.audience","typeLabel":"string"},"size":{"type":"integer","description":"Final weighted universe of audience identified by \"audience\" attribute.","isRequired":true,"uniqueKey":"audiences.row.size","typeLabel":"integer"},"sample":{"type":"integer","description":"Final count of responses of audience identified by \"audience\" attribute.","isRequired":true,"uniqueKey":"audiences.row.sample","typeLabel":"integer"},"percentage":{"type":"number","description":"Ratio between queried audience size and base audience size.","isRequired":true,"uniqueKey":"audiences.row.percentage","typeLabel":"number"},"intersect_percentage":{"type":"number","description":"Ratio between size of intersection of audiences and size of queried audience.","isRequired":true,"uniqueKey":"audiences.row.intersect_percentage","typeLabel":"number"}},"uniqueKey":"audiences.row","typeLabel":"QueryAudienceResult · object"},"column":{"type":"object","description":"Metrics of queried audience.","title":"QueryAudienceResult","required":["audience","size","sample","percentage","intersect_percentage"],"properties":{"audience":{"type":"string","description":"Identifier of the audience according to the query.","isRequired":true,"uniqueKey":"audiences.column.audience","typeLabel":"string"},"size":{"type":"integer","description":"Final weighted universe of audience identified by \"audience\" attribute.","isRequired":true,"uniqueKey":"audiences.column.size","typeLabel":"integer"},"sample":{"type":"integer","description":"Final count of responses of audience identified by \"audience\" attribute.","isRequired":true,"uniqueKey":"audiences.column.sample","typeLabel":"integer"},"percentage":{"type":"number","description":"Ratio between queried audience size and base audience size.","isRequired":true,"uniqueKey":"audiences.column.percentage","typeLabel":"number"},"intersect_percentage":{"type":"number","description":"Ratio between size of intersection of audiences and size of queried audience.","isRequired":true,"uniqueKey":"audiences.column.intersect_percentage","typeLabel":"number"}},"uniqueKey":"audiences.column","typeLabel":"QueryAudienceResult · object"}},"isRequired":true,"uniqueKey":"audiences","typeLabel":"object"},"base":{"type":"object","description":"Metrics of base audience used for intersection","title":"QueryBaseResult","required":["size","sample"],"properties":{"size":{"type":"integer","description":"Final weighted universe of base audience.","isRequired":true,"uniqueKey":"base.size","typeLabel":"integer"},"sample":{"type":"integer","description":"Final count of responses of base audience.","isRequired":true,"uniqueKey":"base.sample","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"base","typeLabel":"QueryBaseResult · object"},"intersect":{"type":"object","description":"Metrics of intersection of queried audiences.","title":"QueryIntersectResult","required":["size","sample","percentage","index"],"properties":{"size":{"type":"integer","description":"Final weighted universe of intersection of queried audiences.","isRequired":true,"uniqueKey":"intersect.size","typeLabel":"integer"},"sample":{"type":"integer","description":"Final count of responses of intersection of queried audiences.","isRequired":true,"uniqueKey":"intersect.sample","typeLabel":"integer"},"percentage":{"type":"number","description":"Ratio between size of intersection of queried audiences and size of base audience.","isRequired":true,"uniqueKey":"intersect.percentage","typeLabel":"number"},"index":{"type":"number","description":"Likeliness ratio between audiences and intersection.","isRequired":true,"uniqueKey":"intersect.index","typeLabel":"number"}},"isRequired":true,"uniqueKey":"intersect","typeLabel":"QueryIntersectResult · object"},"row":{"type":"object","description":"Wrapper structure containing AudienceExpression.","title":"Audience","properties":{"id":{"type":"string","example":"133","uniqueKey":"row.id","typeLabel":"string"},"name":{"type":"string","example":"my_audience","uniqueKey":"row.name","typeLabel":"string"},"expression":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"row.expression.and","typeLabel":"array"},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"row.expression.or","typeLabel":"array"},"not":{"type":"boolean","description":"To use negation of the expression.","uniqueKey":"row.expression.not","typeLabel":"boolean"},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2","uniqueKey":"row.expression.question","typeLabel":"string"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string","uniqueKey":"row.expression.datapoints.items.[INDEX]","typeLabel":"string"},"example":["q2_1","q2_2"],"uniqueKey":"row.expression.datapoints","typeLabel":"string[]"},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string","uniqueKey":"row.expression.suffixes.items.[INDEX]","typeLabel":"string"},"example":["1","2","3"],"uniqueKey":"row.expression.suffixes","typeLabel":"string[]"},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1,"uniqueKey":"row.expression.min_count","typeLabel":"integer"}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]},"uniqueKey":"row.expression","typeLabel":"AudienceExpression · object"}},"uniqueKey":"row","typeLabel":"Audience · object"},"row_index":{"type":"number","description":"Index to specific row audience defined by the request. If the value is equal to 0, then the audience used was \"All base respondents\".","uniqueKey":"row_index","typeLabel":"number"},"column":{"type":"object","description":"Wrapper structure containing AudienceExpression.","title":"Audience","properties":{"id":{"type":"string","example":"134","uniqueKey":"column.id","typeLabel":"string"},"name":{"type":"string","example":"my_audience","uniqueKey":"column.name","typeLabel":"string"},"expression":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"column.expression.and","typeLabel":"array"},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"},"uniqueKey":"column.expression.or","typeLabel":"array"},"not":{"type":"boolean","description":"To use negation of the expression.","uniqueKey":"column.expression.not","typeLabel":"boolean"},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2","uniqueKey":"column.expression.question","typeLabel":"string"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string","uniqueKey":"column.expression.datapoints.items.[INDEX]","typeLabel":"string"},"example":["q2_1","q2_2"],"uniqueKey":"column.expression.datapoints","typeLabel":"string[]"},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string","uniqueKey":"column.expression.suffixes.items.[INDEX]","typeLabel":"string"},"example":["1","2","3"],"uniqueKey":"column.expression.suffixes","typeLabel":"string[]"},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1,"uniqueKey":"column.expression.min_count","typeLabel":"integer"}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]},"uniqueKey":"column.expression","typeLabel":"AudienceExpression · object"}},"uniqueKey":"column","typeLabel":"Audience · object"},"column_index":{"type":"number","description":"Index to specific column audience defined by the request. If the value is equal to 0, then the audience used was \"All base respondents\".","uniqueKey":"column_index","typeLabel":"number"}},"uniqueKey":"","typeLabel":"QueryResult · object"},"examples":{"Example":{"title":"Example","value":{"audiences":{"row":{"audience":"\u003cstring>","size":123,"sample":123,"percentage":123,"intersect_percentage":123},"column":{"audience":"\u003cstring>","size":123,"sample":123,"percentage":123,"intersect_percentage":123}},"base":{"size":123,"sample":123},"intersect":{"size":123,"sample":123,"percentage":123,"index":123},"row":{"id":"133","name":"my_audience","expression":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}},"row_index":123,"column":{"id":"134","name":"my_audience","expression":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}},"column_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"6b78dc12-9a65-4a76-9331-93d0d20b4469":{"description":"Invalid query in request body.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"5cafc88c-640c-4dfb-9bad-7dd7834a5b4f":{"description":"Auth bearer doesn\"t have permissions to access this endpoint.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"87e36c5e-36de-4d42-a58e-a747d8b69dde":{"description":"Auth bearer doesn\"t have permissions to access some codes in requested query.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c7a52b24-1b2f-4a4d-a55c-a53f45236356":{"description":"Server is not able to give correct response.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"b8f2f3b5-5029-4d43-b132-993fa4875b54":{"ApiKeyAuth":{"in":"header","name":"Authorization","type":"apiKey","scopes":[]}}},"servers":{"5d55041f-67dc-45ee-b0a7-55efdf9c34e7":{"url":"https://api.globalwebindex.com"}},"schemas":{"46dfe2a2-c813-499f-a3b9-4138f7334849":{"type":"object","description":"Flexible expression of audience scope.","title":"AudienceExpression","properties":{"and":{"type":"array","description":"List of sub-expressions to apply intersection of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"}},"or":{"type":"array","description":"List of sub-expressions to apply union of their scopes.","items":{"$circularRef":"46dfe2a2-c813-499f-a3b9-4138f7334849"}},"not":{"type":"boolean","description":"To use negation of the expression."},"question":{"type":"string","description":"Question code to define datapoint scope.","example":"q2"},"datapoints":{"type":"array","description":"Datapoint codes to limit scopes of interest.","items":{"type":"string"},"example":["q2_1","q2_2"]},"suffixes":{"type":"array","description":"Suffixes to extend datapoint codes for more detailed responses.","items":{"type":"string"},"example":["1","2","3"]},"min_count":{"type":"integer","description":"Minimal count of positive datapoints in one response.","example":1}},"example":{"and":[{"question":"q2","datapoints":["q2_1","q2_2"],"min_count":1,"not":false},{"question":"q6","datapoints":["q6_2"],"min_count":1,"not":false}]}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"Authorization","type":"apiKey","scopes":[]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/platform/crosstab-query.json"},"subdomain":"gwi-c45e8f9c","siteName":"GWI","title":"v2 Crosstab Bulk Query - GWI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T08:13:14.554Z","originalFileLocation":"platform-api/reference/query/v2-crosstab-bulk-query.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GWI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"v2 Crosstab Bulk Query - GWI\">\u003cmeta data-mint-head property=\"og:description\" content=\"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GWI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gwi-c45e8f9c.mintlify.app/_mintlify/api/og/v2?division=Query\u0026amp;title=v2+Crosstab+Bulk+Query\u0026amp;description=For+any+query+%28JSON+object%29+with+audiences+and+filters+in+request+body+it+gives+back+a+response+with+results+for+specific+Crosstab+metrics+according+to+the+quer\u0026amp;theme=f78a94cf9ffe31b08d06a0cd\u0026amp;signature=22787c54cbd4edd4894e76d67459c312154abfc3330a8ee827d6f36a2c659c95\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"v2 Crosstab Bulk Query - GWI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gwi-c45e8f9c.mintlify.app/_mintlify/api/og/v2?division=Query\u0026amp;title=v2+Crosstab+Bulk+Query\u0026amp;description=For+any+query+%28JSON+object%29+with+audiences+and+filters+in+request+body+it+gives+back+a+response+with+results+for+specific+Crosstab+metrics+according+to+the+quer\u0026amp;theme=f78a94cf9ffe31b08d06a0cd\u0026amp;signature=22787c54cbd4edd4894e76d67459c312154abfc3330a8ee827d6f36a2c659c95\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/gwi-c45e8f9c/-ok9rsKwuEFjmZbD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GWI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#de1a76\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/platform-api/reference/query/v2-crosstab-bulk-query.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.globalwebindex.com/#organization\",\"name\":\"GWI\",\"url\":\"https://api.globalwebindex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gwi-c45e8f9c/lDVzA75IGIMfShVe/assets/logo/light.png?fit=max\u0026auto=format\u0026n=lDVzA75IGIMfShVe\u0026q=85\u0026s=a6bcd3ee7012836c15db595bc15fa6ba\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.globalwebindex.com/docs#website\",\"name\":\"GWI\",\"url\":\"https://api.globalwebindex.com/docs\",\"publisher\":{\"@id\":\"https://api.globalwebindex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query#webpage\",\"url\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query\",\"name\":\"v2 Crosstab Bulk Query\",\"description\":\"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\",\"dateModified\":\"2026-01-22T08:13:14.554Z\",\"isPartOf\":{\"@id\":\"https://api.globalwebindex.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform API\",\"item\":\"https://api.globalwebindex.com/docs/platform-api/reference/audiences/v2-audience-detail\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reference\",\"item\":\"https://api.globalwebindex.com/docs/platform-api/reference/audiences/v2-audience-detail\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Query\",\"item\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-audience-wave-counts-query\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"v2 Crosstab Bulk Query\",\"item\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query#apireference\",\"headline\":\"v2 Crosstab Bulk Query\",\"name\":\"v2 Crosstab Bulk Query\",\"description\":\"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.\",\"url\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query\",\"mainEntityOfPage\":{\"@id\":\"https://api.globalwebindex.com/docs/platform-api/reference/query/v2-crosstab-bulk-query#webpage\"},\"dateModified\":\"2026-01-22T08:13:14.554Z\",\"publisher\":{\"@id\":\"https://api.globalwebindex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.globalwebindex.com/docs#website\"}}]}\u003c/script>","siteName":"GWI","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":"/welcome"}]},{"tab":"GWI Overview","pages":[{"title":"GWI Overview","href":"/overview/gwi"}]},{"tab":"Spark in AI assistants","pages":[{"title":"Spark in AI assistants","href":"/spark-in-ai-assistants/introduction"}]},{"tab":"Spark API","pages":[{"title":"Spark API","href":"/spark-api/getting-started/introduction"}]},{"tab":"Spark MCP","versions":[{"version":"v1","default":true,"tag":"Current","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/spark-mcp/getting-started/introduction"},{"title":"Prerequisites","href":"/spark-mcp/getting-started/prerequisites"},{"title":"Authorization","href":"/spark-mcp/getting-started/authorization"},{"group":"Integration Guide","pages":[{"title":"Overview","href":"/spark-mcp/integration-guide/overview"},{"title":"MCP Server","href":"/spark-mcp/integration-guide/mcp-api"},{"title":"MCP Remote","href":"/spark-mcp/integration-guide/mcp-remote"},{"group":"Claude","pages":[{"title":"Custom connector","href":"/spark-mcp/integration-guide/claude/custom-connector"},{"title":"Desktop extension","href":"/spark-mcp/integration-guide/claude/desktop-extension"}]},{"group":"ChatGPT","pages":[{"title":"Custom connector","href":"/spark-mcp/integration-guide/chatgpt/custom-connector"}]},{"title":"Codex CLI","href":"/spark-mcp/integration-guide/codex/guide"},{"title":"Copilot Studio","href":"/spark-mcp/integration-guide/copilot-studio/custom-connector"},{"title":"Gemini Enterprise","href":"/spark-mcp/integration-guide/gemini-enterprise/v1"},{"title":"Google Gemini CLI","href":"/spark-mcp/integration-guide/gemini-cli/guide"},{"title":"Cursor","href":"/spark-mcp/integration-guide/cursor/guide"},{"title":"Slack-Slackbot ","href":"/spark-mcp/integration-guide/slack/slack"}]}]},{"group":"Spark MCP","pages":[{"title":"Changelog","href":"/spark-mcp/changelog"},{"group":"Reference","pages":[{"group":"MCP Tools","pages":[{"openapi":"post /v1/spark-api/mcp","title":"Execute GWI MCP tool calls","href":"/spark-mcp/reference/mcp-tools/execute-gwi-mcp-tool-calls"}]}]}]}]},{"version":"v2beta","tag":"Beta","pages":[{"title":"v2beta","href":"/spark-mcp/v2beta/getting-started/introduction"}]}]},{"tab":"Platform API","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/platform-api/getting-started/introduction"},{"title":"Prerequisites","href":"/platform-api/getting-started/prerequisites"},{"title":"Rules of our API","href":"/platform-api/rules-of-our-api"},{"title":"Working with Multiple Data Sets","href":"/platform-api/getting-started/working-with-multiple-data-sets"},{"group":"Quickstarts","pages":[{"group":"Basic Query","pages":[{"title":"Step 1: Authorization","href":"/platform-api/getting-started/authorization"},{"title":"Step 2: Understanding GWI's Data Structure","href":"/platform-api/getting-started/gwi-data-structure"},{"title":"Step 3: Find the Question You Need","href":"/platform-api/getting-started/find-question"},{"title":"Step 4: Access Categories in the GWI Core namespace","href":"/platform-api/getting-started/access-categories"},{"title":"Step 5: Retrieve Subcategories","href":"/platform-api/getting-started/retrieve-subcategories"},{"title":"Step 6: Retrieve Questions in the Subcategory","href":"/platform-api/getting-started/questions-from-subcategory"},{"title":"Step 7: Query Data for the Question","href":"/platform-api/getting-started/query-data"}]},{"group":"Advanced Filtering","pages":[{"title":"Further Refining Your Query ","href":"/platform-api/quickstart-guide-continued/advanced-filtering"},{"title":"Step 1: Understanding Namespaces","href":"/platform-api/quickstart-guide-continued/understanding-namespaces"},{"title":"Step 2: Filter by Waves","href":"/platform-api/quickstart-guide-continued/filter-by-waves"},{"title":"Step 3: Filter by Locations","href":"/platform-api/quickstart-guide-continued/filter-by-locations"},{"title":"Step 4: Filter by Splitters","href":"/platform-api/quickstart-guide-continued/apply-splitter"},{"title":"Step 5: Combine Filters in a Stats Query","href":"/platform-api/quickstart-guide-continued/stats-query"},{"title":"Step 6: Interpret the Results","href":"/platform-api/quickstart-guide-continued/interpret-results"}]}]}]},{"group":"Use Cases","pages":[{"title":"Find the Right Question","href":"/platform-api/use-cases/find-question"},{"title":"Create Audiences","href":"/platform-api/use-cases/create-audiences"},{"title":"Apply Audiences","href":"/platform-api/use-cases/apply-audiences"},{"title":"Create Crosstabs","href":"/platform-api/use-cases/create-crosstabs"},{"title":"Compare Results by Location","href":"/platform-api/use-cases/compare-by-location"},{"title":"Examine Trends over Time","href":"/platform-api/use-cases/trends-over-time"}]},{"group":"Transition from V1 to V2 API","pages":[{"title":null,"href":"/platform-api/transition-guide/guide"}]},{"group":"Platform API","pages":[{"group":"Reference","pages":[{"group":"Audiences","pages":[{"openapi":"get /v2/saved/audiences/{id}","title":"v2 Audience Detail","href":"/platform-api/reference/audiences/v2-audience-detail"},{"openapi":"post /v2/saved/audiences","title":"v2 Create Audience","href":"/platform-api/reference/audiences/v2-create-audience"},{"openapi":"delete /v2/saved/audiences/{id}","title":"v2 Delete Audience","href":"/platform-api/reference/audiences/v2-delete-audience"},{"openapi":"post /v2/saved/audiences/filter","title":"v2 Filter Audiences","href":"/platform-api/reference/audiences/v2-filter-audiences"},{"openapi":"get /v2/saved/audiences","title":"v2 List Audiences","href":"/platform-api/reference/audiences/v2-list-audiences"},{"openapi":"put /v2/saved/audiences/{id}/public","title":"v2 Make Audience Public","href":"/platform-api/reference/audiences/v2-make-audience-public"},{"openapi":"put /v2/saved/audiences/{id}","title":"v2 Replace Audience","href":"/platform-api/reference/audiences/v2-replace-audience"},{"openapi":"patch /v2/saved/audiences/{id}","title":"v2 Update Audience","href":"/platform-api/reference/audiences/v2-update-audience"}]},{"group":"Authorization","pages":[{"openapi":"get /v2/token/validate","title":null,"href":"/platform-api/reference/authorization/get-v2tokenvalidate"}]},{"group":"Categories","pages":[{"openapi":"post /v2/categories/filter","title":"v2 Categories Filter","href":"/platform-api/reference/categories/v2-categories-filter"},{"openapi":"get /v2/categories/{category_id}","title":"v2 Category Detail","href":"/platform-api/reference/categories/v2-category-detail"}]},{"group":"Charts","pages":[{"openapi":"post /v1/charts/{id}/calculate","title":"v1 Calculate Chart Metrics","href":"/platform-api/reference/charts/v1-calculate-chart-metrics"},{"openapi":"get /v1/charts/{id}","title":"v1 Chart Detail","href":"/platform-api/reference/charts/v1-chart-detail"},{"openapi":"post /v1/charts/search","title":"v1 Charts Search","href":"/platform-api/reference/charts/v1-charts-search"},{"openapi":"post /v1/charts","title":"v1 Create Chart","href":"/platform-api/reference/charts/v1-create-chart"},{"openapi":"delete /v1/charts","title":"v1 Delete Charts","href":"/platform-api/reference/charts/v1-delete-charts"},{"openapi":"post /v1/charts/{id}/duplicate","title":"v1 Duplicate Chart","href":"/platform-api/reference/charts/v1-duplicate-chart"},{"openapi":"get /v1/charts","title":"v1 List Charts","href":"/platform-api/reference/charts/v1-list-charts"},{"openapi":"put /v1/charts/{id}/rename","title":"v1 Rename Chart","href":"/platform-api/reference/charts/v1-rename-chart"},{"openapi":"put /v1/charts/{id}","title":"v1 Update Chart","href":"/platform-api/reference/charts/v1-update-chart"}]},{"group":"Crosstabs","pages":[{"openapi":"post /v2/saved/crosstabs","title":"v2 Create Crosstab","href":"/platform-api/reference/crosstabs/v2-create-crosstab"},{"openapi":"get /v2/saved/crosstabs/{uuid}","title":"v2 Crosstab Detail","href":"/platform-api/reference/crosstabs/v2-crosstab-detail"},{"openapi":"delete /v2/saved/crosstabs/{uuid}","title":"v2 Delete Crosstab","href":"/platform-api/reference/crosstabs/v2-delete-crosstab"},{"openapi":"get /v2/saved/crosstabs","title":"v2 List Crosstabs","href":"/platform-api/reference/crosstabs/v2-list-crosstabs"},{"openapi":"put /v2/saved/crosstabs/{uuid}","title":"v2 Replace Crosstab","href":"/platform-api/reference/crosstabs/v2-replace-crosstab"},{"openapi":"patch /v2/saved/crosstabs/{uuid}","title":"v2 Update crosstab","href":"/platform-api/reference/crosstabs/v2-update-crosstab"}]},{"group":"Insights","pages":[{"openapi":"get /v3/insights/categories","title":"v3 Categories","href":"/platform-api/reference/insights/v3-categories"},{"openapi":"get /v3/insights/{id}","title":"v3 Insight Detail","href":"/platform-api/reference/insights/v3-insight-detail"},{"openapi":"get /v3/insights/{id}/download_url","title":"v3 Insight Download URL","href":"/platform-api/reference/insights/v3-insight-download-url"},{"openapi":"post /v3/insights/filter","title":"v3 Insights Filter","href":"/platform-api/reference/insights/v3-insights-filter"},{"openapi":"post /v3/insights/search","title":"v3 Insights Search","href":"/platform-api/reference/insights/v3-insights-search"},{"openapi":"get /v3/insights/{id}/related","title":"v3 Related Insights","href":"/platform-api/reference/insights/v3-related-insights"}]},{"group":"Locations","pages":[{"openapi":"post /v2/locations/filter","title":"v2 Locations Filter","href":"/platform-api/reference/locations/v2-locations-filter"}]},{"group":"Namespaces","pages":[{"openapi":"post /v2/namespaces/filter","title":"v2 Namespaces Filter","href":"/platform-api/reference/namespaces/v2-namespaces-filter"}]},{"group":"Query","pages":[{"openapi":"post /v2/query/audience_wave_counts","title":"v2 Audience Wave Counts Query","description":"Returns wave counts","href":"/platform-api/reference/query/v2-audience-wave-counts-query"},{"openapi":"post /v2/query/crosstab","title":"v2 Crosstab Bulk Query","href":"/platform-api/reference/query/v2-crosstab-bulk-query"},{"openapi":"post /v2/query/intersection","title":"v2 Crosstab Cell Query","description":"For any query (JSON object) with audiences and filters in request body it gives back a response with results for specific Crosstab metrics according to the query.","href":"/platform-api/reference/query/v2-crosstab-cell-query"},{"openapi":"post /v2/query/stats","title":"v2 Stats Query","href":"/platform-api/reference/query/v2-stats-query"},{"openapi":"post /v3/query/audience_wave_counts","title":"v3 Audience Wave Counts Query","href":"/platform-api/reference/query/v3-audience-wave-counts-query"}]},{"group":"Questions","pages":[{"openapi":"get /v2/questions/{question_code}","title":"v2 Question Detail","href":"/platform-api/reference/questions/v2-question-detail"},{"openapi":"post /v2/questions/filter","title":"v2 Questions Filter","href":"/platform-api/reference/questions/v2-questions-filter"},{"openapi":"post /v3/questions/filter","title":"v3 Questions Filter","href":"/platform-api/reference/questions/v3-questions-filter"},{"openapi":"post /v3/questions/search","title":"v3 Questions Search","href":"/platform-api/reference/questions/v3-questions-search"}]},{"group":"Splitters","pages":[{"openapi":"post /v2/splitters/filter","title":"v2 Splitters filter","href":"/platform-api/reference/splitters/v2-splitters-filter"}]},{"group":"Taxonomy","pages":[{"openapi":"get /v3/taxonomy","title":"v3 Taxonomy","href":"/platform-api/reference/taxonomy/v3-taxonomy"}]},{"group":"Waves","pages":[{"openapi":"post /v2/waves/filter","title":"v2 Waves Filter","href":"/platform-api/reference/waves/v2-waves-filter"}]}]}]}]},{"tab":"Dictionary","pages":[{"title":"Dictionary","href":"/dictionary/dictionary"}]}]},"title":"v2 Crosstab Bulk Query - GWI","buildId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","deploymentId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-2jF_ccbi.js","utils-NNMVb_sb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DdtBhtt6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D1OxL5O8.js","snippetPresets-DDC-KAXp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BOnTqOyQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-EEWI6FIO.js","shallow-fGZcWzm2.js","getApiPlaygroundDisplay-B3B8qEvw.js","CodeSnippet-BG9nsSU4.js","CodeSnippets-BlRACLKl.js","Page-FtoC8lZ9.js","getPastedJson-COV-Kgnr.js","icon-BXu3lasn.js","MethodPill-DGMUqJKh.js","DuplicateIcon-JEUJDHz_.js","createIcon-BDFucJ34.js","DynamicMarkdown-34OtG_BH.js","SectionHeading-tBbRD59j.js","axios-vUo_bRtp.js","Markdown-SoRz2nk2.js","clsx-BOmkPVIU.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DN0dCbTw.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BcsLYcfW.js"]}