{"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/search-tools:archive-search/get-search-v1-fields":{"get":{"operationId":"search_tools_archive_search_get_search_v1_fields","summary":"Fields that can be requested","description":"GET /search/v1/fields","tags":["search-tools"],"parameters":[{"name":"callback","in":"query","required":false,"description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…","schema":{"type":"string","description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…"}}],"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":"live"}},"/v1/search-tools:archive-search/get-search-v1-organic":{"get":{"operationId":"search_tools_archive_search_get_search_v1_organic","summary":"Return relevance-based results from search queries","description":"GET /search/v1/organic","tags":["search-tools"],"parameters":[{"name":"q","in":"query","required":false,"description":"Lucene-type search query","schema":{"type":"string","description":"Lucene-type search query"}},{"name":"field","in":"query","required":false,"description":"Metadata field","schema":{"type":"string","default":"identifier","description":"Metadata field"}},{"name":"size","in":"query","required":false,"description":"Number of query results to return","schema":{"type":"integer","default":1000,"description":"Number of query results to return"}},{"name":"total_only","in":"query","required":false,"description":"Request total only; do not return hits","schema":{"type":"boolean","default":false,"description":"Request total only; do not return hits"}},{"name":"callback","in":"query","required":false,"description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…","schema":{"type":"string","description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…"}}],"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":"live"}},"/v1/search-tools:archive-search/get-search-v1-scrape":{"get":{"operationId":"search_tools_archive_search_get_search_v1_scrape","summary":"Scrape search results from Internet Archive, allowing a scrolling cursor","description":"GET /search/v1/scrape","tags":["search-tools"],"parameters":[{"name":"q","in":"query","required":false,"description":"Lucene-type search query","schema":{"type":"string","description":"Lucene-type search query"}},{"name":"field","in":"query","required":false,"description":"Metadata field","schema":{"type":"string","default":"identifier","description":"Metadata field"}},{"name":"sort","in":"query","required":false,"description":"sort collations","schema":{"type":"string","description":"sort collations"}},{"name":"size","in":"query","required":false,"description":"Number of query results to return","schema":{"type":"integer","default":1000,"description":"Number of query results to return"}},{"name":"cursor","in":"query","required":false,"description":"Cursor for scrolling (used for subsequent calls)","schema":{"type":"string","description":"Cursor for scrolling (used for subsequent calls)"}},{"name":"total_only","in":"query","required":false,"description":"Request total only; do not return hits","schema":{"type":"boolean","default":false,"description":"Request total only; do not return hits"}},{"name":"callback","in":"query","required":false,"description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…","schema":{"type":"string","description":"Specifies a JavaScript function func, for a JSON-P response. When provided, results are wrapped as `callback(data)`, and the returned MIME…"}}],"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":"live"}}},"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"}}}}}}}