> ## Documentation Index > Fetch the complete documentation index at: https://docs.supermetrics.com/llms.txt > Use this file to discover all available pages before exploring further. # Search data sources > Search for all publicly available data sources ## OpenAPI ````json GET /datasource/search { "openapi": "3.0.3", "info": { "title": "Data API Reference", "version": "2.0.0", "description": "API Documentation for the Supermetrics Data API including data source search capabilities. For more information, visit https://supermetrics.com.", "termsOfService": "https://supermetrics.com/terms-of-service", "contact": { "name": "Supermetrics Suppot", "email": "support@supermetrics.com", "url": "https://supermetrics.com/support" }, "license": { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, "x-api-id": "sm-data-api", "x-audience": "public" }, "servers": [ { "url": "https://api.supermetrics.com/v2", "description": "Global production public Supermetrics Data API base path.", "x-internal": false }, { "url": "https://api.supermetrics.com", "description": "Global production public Supermetrics API base path for datasource search.", "x-internal": false } ], "tags": [ { "name": "Get data", "description": "Query data and retrieve results, fields, segments, and accounts" }, { "name": "Data Source Search", "description": "Search and discover data sources with filtering capabilities" }, { "name": "Destination Search", "description": "Search and discover destinations for your team" }, { "name": "API Usage", "description": "Retrieve API usage rollups — timeseries, top breakdowns, errors, and summary" }, { "name": "Raw Usage Data Export", "description": "Endpoints for creating and retrieving a team's raw usage reposts." }, { "name": "Campaign Management", "description": "Create, update, and manage advertising campaigns, audiences, conversions, keywords, and related assets" } ], "externalDocs": { "description": "Find out more about Supermetrics Data API", "url": "https://docs.supermetrics.com/apidocs/data-api" }, "paths": { "/datasource/search": { "servers": [ { "url": "https://api.supermetrics.com", "description": "production server", "x-internal": false } ], "get": { "summary": "Search data sources", "description": "Search for all publicly available data sources", "operationId": "searchDataSources", "security": [], "parameters": [ { "name": "filter[keyword]", "in": "query", "required": false, "description": "Fuzzy search by keyword in connector ID, name, marketing name, description, categories, aliases, and tags.", "schema": { "type": "string", "maxLength": 255, "pattern": "^[A-Za-z0-9\\s_-]*$" } }, { "name": "filter[category]", "in": "query", "required": false, "description": "Filter by category.", "schema": { "type": "string", "enum": [ "AD_VERIFICATION", "AFFILIATE", "ANALYTICS", "BRAND_REPUTATION", "CRM_SALES", "DATA_WAREHOUSES", "DSP", "ECOMMERCE", "FILES", "MARKETING_ATTRIBUTION", "MARKETING_AUTOMATION", "MOBILE", "OTHER", "PAID_MEDIA", "PAYMENTS", "RETAIL_MEDIA", "SEARCH", "SEO", "SOCIAL_MEDIA" ] } }, { "name": "filter[status]", "in": "query", "required": false, "description": "Filter by release status.", "schema": { "type": "string", "enum": [ "DEVELOPMENT", "INVITE_ONLY", "EARLY_ACCESS", "RELEASED", "SUNSETTED" ] } }, { "name": "filter[product]", "in": "query", "required": false, "description": "Filter by product.", "schema": { "type": "string", "enum": [ "EXCEL", "SHEETS", "DS", "API", "HUB" ] } }, { "name": "filter[tag]", "in": "query", "required": false, "description": "Filter by tag.", "schema": { "type": "string", "maxLength": 100 } }, { "name": "filter[is_new]", "in": "query", "required": false, "description": "Filter only new connectors (release date within the last 90 days).", "schema": { "type": "string", "enum": [ "true", "false" ] } }, { "name": "filter[is_shown_website]", "in": "query", "required": false, "description": "Filter only connectors shown on the website.", "schema": { "type": "string", "enum": [ "true", "false" ] } } ], "responses": { "200": { "description": "List of connectors retrieved successfully", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DataSourceSearchResponse" } } } }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/PermissionDenied" }, "422": { "$ref": "#/components/responses/UnprocessableEntity" }, "429": { "$ref": "#/components/responses/TooManyRequests" }, "500": { "$ref": "#/components/responses/InternalServerError" } }, "tags": [ "Data Source Search" ] } } }, "components": { "schemas": { "DataSourceSearchResponse": { "type": "object", "description": "Response envelope containing data source search results.", "properties": { "meta": { "$ref": "#/components/schemas/Meta" }, "data": { "type": "object", "properties": { "list": { "type": "array", "maxItems": 1000, "description": "List of matching connectors.", "items": { "$ref": "#/components/schemas/DataSourceSearchItem" } } } } } }, "Meta": { "type": "object", "description": "Metadata included in every API response.", "properties": { "request_id": { "$ref": "#/components/schemas/RequestId" } }, "required": [ "request_id" ], "additionalProperties": false }, "DataSourceSearchItem": { "type": "object", "description": "A single data source matched by the search.", "properties": { "id": { "type": "string", "maxLength": 50, "pattern": "^[A-Za-z0-9_-]+$", "description": "Connector identifier.", "example": "GA" }, "name": { "type": "string", "nullable": true, "maxLength": 255, "description": "Connector name.", "example": "Google Analytics 4" }, "marketing_name": { "type": "string", "nullable": true, "maxLength": 255, "description": "Connector marketing name. Can be empty — use name as fallback.", "example": "Google Analytics" }, "description": { "type": "string", "nullable": true, "maxLength": 1000, "description": "Connector description.", "example": "Web analytics service for tracking website traffic and user behavior." }, "status": { "type": "string", "nullable": true, "maxLength": 50, "description": "Connector release status.", "enum": [ "Development", "Invite only", "Early access", "Released", "Sunsetted" ], "example": "Released" }, "is_premium": { "type": "boolean", "description": "Whether the connector requires a premium subscription.", "example": false }, "logo_url": { "type": "string", "nullable": true, "maxLength": 500, "format": "uri", "description": "Connector logo URL.", "example": "https://assets.supermetrics.com/images/dsLogos/GA.png" }, "categories": { "type": "array", "maxItems": 20, "description": "Categories the connector belongs to.", "items": { "type": "string", "maxLength": 100 }, "example": [ "ANALYTICS" ] }, "tags": { "type": "array", "maxItems": 10, "description": "Connector tags.", "items": { "type": "string", "maxLength": 50 }, "example": [ "popular" ] }, "products": { "type": "array", "maxItems": 10, "description": "Products the connector is available in.", "items": { "type": "string", "maxLength": 50, "enum": [ "EXCEL", "SHEETS", "DS", "API", "HUB" ] }, "example": [ "API", "SHEETS" ] } } }, "ErrorResponse": { "type": "object", "description": "Standard envelope returned by all error (4xx/5xx) responses.", "properties": { "meta": { "$ref": "#/components/schemas/Meta" }, "error": { "$ref": "#/components/schemas/Error" } }, "required": [ "meta", "error" ], "additionalProperties": false }, "RequestId": { "type": "string", "description": "Unique identifier for the request, for tracking and debugging.", "pattern": "^[A-Za-z0-9_-]+$", "minLength": 8, "maxLength": 64, "example": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN", "x-faker": { "random.alphaNumeric": 30 } }, "Error": { "type": "object", "description": "Machine- and human-readable detail for a failed request.", "properties": { "code": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]*$", "maxLength": 100, "description": "Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on `message`. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.", "example": "BAD_REQUEST" }, "message": { "type": "string", "maxLength": 255, "pattern": "^.+$", "description": "Short, human-readable summary of the error.", "example": "The request was invalid." }, "description": { "type": "string", "maxLength": 2048, "description": "Optional longer explanation specific to this occurrence.", "example": "The field 'display_name' must not be empty." } }, "required": [ "code", "message" ], "additionalProperties": false } }, "responses": { "BadRequest": { "description": "Bad request - invalid parameters", "headers": { "X-RateLimit-Limit": { "$ref": "#/components/headers/X-RateLimit-Limit" }, "X-RateLimit-Remaining": { "$ref": "#/components/headers/X-RateLimit-Remaining" }, "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "BAD_REQUEST", "message": "The request was invalid." } } } } }, "Unauthorized": { "description": "Unauthorized", "headers": { "WWW-Authenticate": { "$ref": "#/components/headers/WWW-Authenticate" }, "X-RateLimit-Limit": { "$ref": "#/components/headers/X-RateLimit-Limit" }, "X-RateLimit-Remaining": { "$ref": "#/components/headers/X-RateLimit-Remaining" }, "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "UNAUTHORIZED", "message": "Authentication is required." } } } } }, "PermissionDenied": { "description": "Permission denied", "headers": { "X-RateLimit-Limit": { "$ref": "#/components/headers/X-RateLimit-Limit" }, "X-RateLimit-Remaining": { "$ref": "#/components/headers/X-RateLimit-Remaining" }, "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "PERMISSION_ERROR", "message": "You do not have permission to perform this action." } } } } }, "UnprocessableEntity": { "description": "Unprocessable Entity - validation failed for the request parameters", "headers": { "X-RateLimit-Limit": { "$ref": "#/components/headers/X-RateLimit-Limit" }, "X-RateLimit-Remaining": { "$ref": "#/components/headers/X-RateLimit-Remaining" }, "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "UNPROCESSABLE_ENTITY", "message": "Validation failed for the request parameters." } } } } }, "TooManyRequests": { "description": "Too Many Requests", "headers": { "X-RateLimit-Limit": { "$ref": "#/components/headers/X-RateLimit-Limit" }, "X-RateLimit-Remaining": { "$ref": "#/components/headers/X-RateLimit-Remaining" }, "Retry-After": { "$ref": "#/components/headers/Retry-After" }, "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "TOO_MANY_REQUESTS", "message": "Rate limit exceeded. Retry later." } } } } }, "InternalServerError": { "description": "Internal server error", "headers": { "Access-Control-Allow-Origin": { "$ref": "#/components/headers/Access-Control-Allow-Origin" } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "meta": { "request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN" }, "error": { "code": "INTERNAL_SERVER_ERROR", "message": "An unexpected error occurred." } } } } } }, "headers": { "X-RateLimit-Limit": { "description": "Request limit per hour", "schema": { "type": "integer", "format": "int32", "minimum": 1, "maximum": 10000, "example": 5000 } }, "X-RateLimit-Remaining": { "description": "Remaining requests in current window", "schema": { "type": "integer", "format": "int32", "minimum": 0, "maximum": 10000, "example": 4999 } }, "Access-Control-Allow-Origin": { "description": "CORS header", "schema": { "type": "string", "maxLength": 255, "enum": [ "*" ], "example": "*" } }, "WWW-Authenticate": { "description": "Bearer token required", "schema": { "type": "string", "maxLength": 255, "pattern": "^Bearer.*" } }, "Retry-After": { "description": "Seconds until rate limit resets", "schema": { "type": "integer", "format": "int32", "minimum": 1, "maximum": 86400, "example": 3600 } } } } } ````