{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-businessprofileperformance/businessprofileperformance-locations-fetch-multi-daily-metri":{"get":{"operationId":"analytics_googleapis_businessprofileperformance_businessprofileperformance_locations_fetch_multi_daily_metri","summary":"Returns the values for each date from a given time range that are associated with the specific daily…","description":"GET /v1/{+location}:fetchMultiDailyMetricsTimeSeries","tags":["analytics"],"parameters":[{"name":"dailyMetrics","in":"query","required":false,"description":"Required. The metrics to retrieve time series for.","schema":{"type":"string","enum":["DAILY_METRIC_UNKNOWN","BUSINESS_IMPRESSIONS_DESKTOP_MAPS","BUSINESS_IMPRESSIONS_DESKTOP_SEARCH","BUSINESS_IMPRESSIONS_MOBILE_MAPS","BUSINESS_IMPRESSIONS_MOBILE_SEARCH","BUSINESS_CONVERSATIONS","BUSINESS_DIRECTION_REQUESTS","CALL_CLICKS","WEBSITE_CLICKS","MESSAGING_CLICKS","BUSINESS_BOOKINGS","BUSINESS_FOOD_ORDERS","BUSINESS_FOOD_MENU_CLICKS"],"description":"Required. The metrics to retrieve time series for."}},{"name":"dailyRange.endDate.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"dailyRange.endDate.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"dailyRange.endDate.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"dailyRange.startDate.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"dailyRange.startDate.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"dailyRange.startDate.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"location","in":"query","required":true,"description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…","schema":{"type":"string","description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-businessprofileperformance/businessprofileperformance-locations-get-daily-metrics-time":{"get":{"operationId":"analytics_googleapis_businessprofileperformance_businessprofileperformance_locations_get_daily_metrics_time","summary":"Returns the values for each date from a given time range that are associated with the specific daily metric.…","description":"GET /v1/{+name}:getDailyMetricsTimeSeries","tags":["analytics"],"parameters":[{"name":"dailyMetric","in":"query","required":false,"description":"Required. The metric to retrieve time series.","schema":{"type":"string","enum":["DAILY_METRIC_UNKNOWN","BUSINESS_IMPRESSIONS_DESKTOP_MAPS","BUSINESS_IMPRESSIONS_DESKTOP_SEARCH","BUSINESS_IMPRESSIONS_MOBILE_MAPS","BUSINESS_IMPRESSIONS_MOBILE_SEARCH","BUSINESS_CONVERSATIONS","BUSINESS_DIRECTION_REQUESTS","CALL_CLICKS","WEBSITE_CLICKS","MESSAGING_CLICKS","BUSINESS_BOOKINGS","BUSINESS_FOOD_ORDERS","BUSINESS_FOOD_MENU_CLICKS"],"description":"Required. The metric to retrieve time series."}},{"name":"dailyRange.endDate.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"dailyRange.endDate.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"dailyRange.endDate.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"dailyRange.startDate.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"dailyRange.startDate.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"dailyRange.startDate.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"dailySubEntityType.dayOfWeek","in":"query","required":false,"description":"Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.","schema":{"type":"string","enum":["DAY_OF_WEEK_UNSPECIFIED","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"description":"Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE."}},{"name":"dailySubEntityType.timeOfDay.hours","in":"query","required":false,"description":"Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to…","schema":{"type":"integer","description":"Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to…"}},{"name":"dailySubEntityType.timeOfDay.minutes","in":"query","required":false,"description":"Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.","schema":{"type":"integer","description":"Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59."}},{"name":"dailySubEntityType.timeOfDay.nanos","in":"query","required":false,"description":"Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.","schema":{"type":"integer","description":"Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999."}},{"name":"dailySubEntityType.timeOfDay.seconds","in":"query","required":false,"description":"Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if…","schema":{"type":"integer","description":"Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if…"}},{"name":"name","in":"query","required":true,"description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…","schema":{"type":"string","description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-businessprofileperformance/businessprofileperformance-locations-searchkeywords-impressi":{"get":{"operationId":"analytics_googleapis_businessprofileperformance_businessprofileperformance_locations_searchkeywords_impressi","summary":"Returns the search keywords used to find a business in search or maps. Each search keyword is accompanied by…","description":"GET /v1/{+parent}/searchkeywords/impressions/monthly","tags":["analytics"],"parameters":[{"name":"monthlyRange.endMonth.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"monthlyRange.endMonth.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"monthlyRange.endMonth.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"monthlyRange.startMonth.day","in":"query","required":false,"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…","schema":{"type":"integer","description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day…"}},{"name":"monthlyRange.startMonth.month","in":"query","required":false,"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","schema":{"type":"integer","description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."}},{"name":"monthlyRange.startMonth.year","in":"query","required":false,"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","schema":{"type":"integer","description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The number of results requested. The default page size is 100. Page size can be set to a maximum of 100.","schema":{"type":"integer","description":"Optional. The number of results requested. The default page size is 100. Page size can be set to a maximum of 100."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A token indicating the next paginated result to be returned.","schema":{"type":"string","description":"Optional. A token indicating the next paginated result to be returned."}},{"name":"parent","in":"query","required":true,"description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…","schema":{"type":"string","description":"Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}