Tags
Tags are categorical labels that help organize and classify geographic sets. They provide a flexible way to group related geographic areas together for efficient querying and filtering.
What are Tags?
A tag is a simple string identifier attached to a set that categorizes it. Tags act as buckets that can contain many sets, making it easy to query for all geographic areas of a certain type.
Common Tags
Deliberate API comes pre-loaded with thousands of geographic sets organized by tags. Here are some commonly used tags:
United States
us_state- U.S. statesus_county- U.S. countiesus_national_park- U.S. national parksus_national_scenic_trail- National scenic trails
Global
world_country- Countries around the worldocean- Oceanssea- Seastimezone- Time zones
Maritime
port- Portsterminal- Ocean terminals
Querying by Tags
Use the tags filter in your queries to find sets by their tags. The contains operator checks if a set has a specific tag:
Multiple Tags
Sets can have multiple tags. Use contains_all to find sets that have all specified tags:
Custom Tags
When you create your own geographic sets, you can assign custom tags to organize them according to your application's needs. Tags can be anything that makes sense for your use case—from simple categories like warehouse or delivery_zone to more specific identifiers.