GS1

GS1 Queries API

Endpoints to create large named or anonymous queries using the EPCIS Query Language. Named queries have a custom name and are stored until deleted by the user. Anonymous queries are not persisted and only available to the caller. EPCIS events queries also support query subscription.

Operations 10

GET /queries Returns a list of queries available #
POST /queries Creates a named EPCIS events query #
GET /queries/{queryName} Returns the query definition #
DELETE /queries/{queryName} Removes a named query and forcibly unsubscribes all active subscriptions… #
GET /queries/{queryName}/subscriptions Returns active subscriptions with the option to use pagination if needed #
POST /queries/{queryName}/subscriptions Creates a query subscription #
GET /queries/{queryName}/subscriptions/{subscriptionID} Returns the details of a subscription. #
DELETE /queries/{queryName}/subscriptions/{subscriptionID} Unsubscribes a client by deleting the query subscription #
GET /queries/{queryName}/events Returns EPCIS events with the option to use pagination if needed. #
DELETE /nextPageToken/{token} Optional endpoint that allows on-demand release of any resources associated… #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gs1-queries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gs1-queries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.0.1
  title: EPCIS 2.0 REST Bindings Queries API
  license:
    name: Apache2
  description: 'Endpoints to create large named or anonymous queries using the EPCIS Query Language. Named queries have a custom

    name and are stored until deleted by the user. Anonymous queries are not persisted and only available to the caller.

    EPCIS events queries also support query subscription.'
tags:


# --- truncated at 32 KB (95 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gs1/refs/heads/main/openapi/gs1-queries-api-openapi.yml