Is there any free online dictionary API (json/xml)

2019-01-12 17:07发布

问题:

Is there any free dictionary API that doesn't require API keys, and allows you to choose between multiple source and destination languages (as many as possible, at least English, German, Spanish, French...)?

回答1:

You can try http://glosbe.com/a-api , it's big -- almost all languages covered. It allows you to access data in JSON/JSONP/XML. There is some limit set for users without key, but you can overcome it by using JSONP on your client side.



回答2:

I would think that Wiktionary (the dictionary from the folks that originally built Wikipedia) would fit the bill nicely.

API documentation for Wiktionary: http://en.wiktionary.org/w/api.php



回答3:

Most API providers require registration to prevent denial of service attacks and other abuses. That being said, I did run across one that is available without registration:

Aonaware - This Web Service allows you to access dictionary definitions from the dict.org service.



标签: translation