{"word":"hello","language":"en","phonetic":"/həˈləʊ/","audio":"https://api.dictionaryapi.dev/media/pronunciations/en/hello-au.mp3","origin":null,"meanings":[{"partOfSpeech":"noun","synonyms":["greeting"],"antonyms":[],"definitions":[{"definition":"\"Hello!\" or an equivalent greeting.","example":null,"synonyms":[],"antonyms":[]}]},{"partOfSpeech":"verb","synonyms":[],"antonyms":[],"definitions":[{"definition":"To greet with \"hello\".","example":null,"synonyms":[],"antonyms":[]}]},{"partOfSpeech":"interjection","synonyms":[],"antonyms":["bye","goodbye"],"definitions":[{"definition":"A greeting (salutation) said when meeting someone or acknowledging someone’s arrival or presence.","example":"Hello, everyone.","synonyms":[],"antonyms":[]},{"definition":"A greeting used when answering the telephone.","example":"Hello? How may I help you?","synonyms":[],"antonyms":[]},{"definition":"A call for response if it is not clear if anyone is present or listening, or if a telephone conversation may have been disconnected.","example":"Hello? Is anyone there?","synonyms":[],"antonyms":[]},{"definition":"Used sarcastically to imply that the person addressed or referred to has done something the speaker or writer considers to be foolish.","example":"You just tried to start your car with your cell phone. Hello?","synonyms":[],"antonyms":[]},{"definition":"An expression of puzzlement or discovery.","example":"Hello! What’s going on here?","synonyms":[],"antonyms":[]}]}],"cached":false,"timestamp":"2026-06-22T09:11:53.139Z"}
curl --location --request GET 'https://zylalabs.com/api/12972/data+and+utilities+api/25940/dictionary+definitions' --header 'Authorization: Bearer YOUR_API_KEY'
{"word":"happy","language":"en","results":[{"partOfSpeech":"verb","synonyms":["happify"],"antonyms":[],"relatedDefinition":"Often followed by up: to become happy; to brighten up, to cheer up."},{"partOfSpeech":"adjective","synonyms":["cheerful","content","delighted","elated","exultant","glad","joyful","jubilant","merry","orgasmic","fortunate","lucky","propitious"],"antonyms":["inappropriate","inapt","unfelicitous","disenchanted","dissatisfied","blue","depressed","down","miserable","moody","morose","sad","unhappy","unfortunate","unlucky","unpropitious"],"relatedDefinition":"Having a feeling arising from a consciousness of well-being or of enjoyment; enjoying good of any kind, such as comfort, peace, or tranquillity; blissful, contented, joyous."}],"totalSynonyms":14,"totalAntonyms":16,"cached":false,"timestamp":"2026-06-22T09:12:37.485Z"}
curl --location --request GET 'https://zylalabs.com/api/12972/data+and+utilities+api/25941/synonyms+%26+antonyms' --header 'Authorization: Bearer YOUR_API_KEY'
{"ip":"8.8.8.8","location":{"country":"United States","countryCode":"US","region":"Virginia","city":"Ashburn","latitude":39.03,"longitude":-77.5,"timezone":"America/New_York"},"network":{"isp":"Google LLC","org":"Google Public DNS","as":"AS15169 Google LLC"},"cached":false,"timestamp":"2026-06-22T09:13:27.267Z"}
curl --location --request GET 'https://zylalabs.com/api/12972/data+and+utilities+api/25942/ip+geolocation' --header 'Authorization: Bearer YOUR_API_KEY'
{"location":{"latitude":1.29,"longitude":103.85,"resolvedFrom":"city","city":"Singapore, Singapore"},"current":{"temperature":28.2,"windSpeed":10.7,"windDirection":210,"weatherCode":3,"weatherDescription":"Overcast","isDay":true},"units":{"temperature":"°C","windSpeed":"km/h"},"sources":["Open-Meteo"],"cached":true,"timestamp":"2026-06-22T09:13:46.114Z"}
curl --location --request GET 'https://zylalabs.com/api/12972/data+and+utilities+api/25943/real-time+weather' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Data and Utilities API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
A comprehensive suite of utility APIs offering Dictionary definitions, Synonyms/Antonyms matching, IP Geolocation, and real-time Global Weather data.
Each endpoint returns specific types of data: the Dictionary Definitions endpoint provides word definitions, phonetics, and origins; the Synonyms & Antonyms endpoint offers related words categorized by part of speech; the IP Geolocation endpoint returns location details for IP addresses; and the Real-time Weather endpoint delivers current weather conditions based on location inputs.
Key fields vary by endpoint: for Dictionary Definitions, fields include "word," "phonetic," and "meanings"; for Synonyms & Antonyms, fields include "word," "synonyms," and "antonyms"; for IP Geolocation, fields include "ip," "location," and "network"; and for Real-time Weather, fields include "location," "current," and "units."
Parameters vary by endpoint: the Dictionary Definitions endpoint requires a word; the Synonyms & Antonyms endpoint also requires a word; the IP Geolocation endpoint requires an IPv4 or IPv6 address; and the Real-time Weather endpoint accepts a city name, IP address, or latitude/longitude coordinates.
Response data is organized into structured JSON objects. Each endpoint's response includes relevant fields grouped logically, such as "location" and "current" for weather data, or "meanings" and "partOfSpeech" for dictionary entries, making it easy to parse and utilize.
The data sources vary by endpoint: dictionary data is sourced from linguistic databases; synonyms and antonyms are derived from lexical resources; IP geolocation data is obtained from IP address registries; and weather data is sourced from meteorological services like Open-Meteo.
Typical use cases include enhancing applications with language features (e.g., definitions and synonyms), geolocation services for tracking user locations, and providing real-time weather updates for travel or event planning. Each endpoint serves distinct needs across various applications.
用户可以通过解析JSON结构来提取相关信息,从而利用返回的数据。例如,在天气数据中,用户可以访问“current.temperature”来获取温度读数,或者在字典数据中,他们可以显示“meanings”以在应用程序中提供定义
数据准确性通过来自可靠来源的定期更新 验证检查 和用户反馈机制得以保持 例如 气象数据是从气象服务持续更新的 而词典条目则审查语言的准确性