Free XML APIs
52 services, checked weekly
These free APIs and web services answer in XML (some also in JSON). XML is still common in enterprise software, in RSS and Atom feeds and in older SOAP services, and every programming language can read it.
| Service | Category | API key | Formats | Free use |
|---|---|---|---|---|
| arXiv API | Books and research | Not needed | XML | Free, no key needed; the provider asks for at most one request every three seconds. |
| Internet Archive Advanced Search | Books and research | Not needed | JSON, XML | Free, no key needed. |
| Trove API | Books and research | Needed, free | JSON, XML | Free with a free API key for non-commercial use; commercial use needs permission from the library. |
| Wikidata Query Service | Books and research | Not needed | JSON, XML | Free, no key needed; data is CC0. |
| InterFax | Communication | Needed, free | XML | Paid per page, with a free developer account for testing. |
| Dlvr.it API | Social media | Needed, free | JSON, XML | Free plan with limits; paid plans for more accounts and feeds. |
| Bank of Canada Valet API | Currency and finance | Not needed | JSON, XML, CSV | Free, no key needed, with the Bank of Canada credited as the source. |
| ECB Data Portal API | Currency and finance | Not needed | JSON, XML, CSV | Free, no key needed; cite the ECB as the source. |
| geoPlugin Currency Converter | Currency and finance | – | JSON, XML | – |
| NBP Web API (National Bank of Poland) | Currency and finance | Not needed | JSON, XML | Free, no key needed. |
| FRED API | Finance | Needed, free | JSON, XML | Free with a free API key. |
| U.S. Treasury Fiscal Data API | Finance | Not needed | JSON, XML, CSV | Free, no key needed, and the data may be reused, also commercially. |
| ipapi.co | IP to location APIs | Not needed | JSON, XML, CSV | Free without a key up to about 1,000 requests per day; paid plans for more. |
| ipquery.io | IP to location APIs | Not needed | JSON, XML | Free, no key needed, within a rate limit. |
| GeoNames | Location Information | Needed, free | JSON, XML | Free with a free GeoNames account (username) and a daily credit limit; paid premium service for heavy use. |
| Overpass API | Location Information | Not needed | JSON, XML | Free on the public servers with fair use; heavy users should run their own instance. |
| Zipwise Free ZIP code web services | Location Information | Needed, free | JSON, XML | – |
| 7Timer! | Weather forecasts | Not needed | JSON, XML | Free, no key needed; a simple, long-running service without uptime guarantee. |
| Aviation Weather Center Data API | Weather forecasts | Not needed | JSON, XML | Free, no key needed; keep the number of requests reasonable. |
| NOAA Tides and Currents API | Weather forecasts | Not needed | JSON, XML, CSV | Free, public domain, no key needed. |
| OpenWeatherMap | Weather forecasts | Needed, free | JSON, XML | Free plan with a limit per minute and per month; paid plans for more calls and features. |
| World Weather Online Local Weather API | Weather forecasts | Needed, free | JSON, XML, CSV | Free with a free API key and no card, up to 100 requests a day, for personal, educational and research use; paid plans for commercial use. |
| World Weather Online Marine Weather API | Weather forecasts | Needed, free | JSON, XML | Free with a free API key, up to 500 calls a day; paid plans for more. |
| PurgoMalum | Language and text | Not needed | JSON, XML | Free, no key needed. |
| Free Thumbnail API | Media | Needed, free | XML | Free and Paid API. |
| MusicBrainz API | Audio | Not needed | JSON, XML | Free, no key needed, at about one request per second per IP address. |
| Radio Browser API | Audio | Not needed | JSON, XML, CSV | Free, no key needed; the project is open source. |
| GXChart WebChart | Chart APIs | Not needed | XML | – |
| DiceBear avatars | Image and photo | Not needed | XML | Free and open source, no key needed. |
| Flickr API | Image and photo | Needed, free | JSON, XML | Free for non-commercial use with a free API key; commercial use needs permission. |
| Gravatar API | Image and photo | Not needed | JSON, XML | Free; avatars need no key, the profile API uses a free API key. |
| OMDb API | Video | Needed, free | JSON, XML | Free with a free API key, 1,000 requests a day. |
| Webz.io News API | News search APIs | Needed, free | JSON, XML | Free with a free API key and 5 dollars of usage credit every month; after that the API is pay as you go. |
| hnrss | Publishers and feeds | Not needed | JSON, XML, RSS | Free, no key needed. |
| The Guardian Open Platform | Publishers and feeds | Needed, free | JSON, XML | Free developer key for non-commercial use, with a daily limit; commercial use by agreement with the Guardian. |
| Congress.gov API | Government and law | Needed, free | JSON, XML | Free with a free api.data.gov key. |
| legislation.gov.uk API | Government and law | Not needed | XML, RSS | Free, no key needed. |
| Food Hygiene Rating API (FSA) | Health | Not needed | JSON, XML | Free, no key needed. |
| RxNorm API (RxNav) | Health | Not needed | JSON, XML | Free, no key needed. |
| CBS Open Data (Statistics Netherlands) | Statistics | Not needed | JSON, XML | Free, no key needed. |
| OECD Data API | Statistics | Not needed | JSON, XML, CSV | Free, no key needed; the OECD limits how many queries one user may send per hour. |
| World Bank Indicators API | Statistics | Not needed | JSON, XML | Free, open data, no key needed. |
| JokeAPI | Fun and games | Not needed | JSON, XML | Free, no key needed, with a limit of about 120 requests per minute. |
| Wufoo Form Builder API | Web development services | Needed, free | JSON, XML | Free with a Wufoo account; the limits depend on your Wufoo plan. |
| Name API | Data validators | Needed, free | XML | Free and paid plans. |
| VIES VAT number validation | Data validators | Not needed | JSON, XML | Free, no key needed. |
| Amazon Elastic Compute Cloud (EC2) | Hosting and storage | Needed, free | XML | Paid, with a 12-month free tier for new AWS accounts. |
| Amazon Simple Storage Service (S3) | Hosting and storage | Needed, free | XML | Paid, with a 12-month free tier for new AWS accounts. |
| Cloudflare R2 | Hosting and storage | Needed, free | XML | Free each month for 10 GB of storage, 1 million write and 10 million read operations; usage above that is paid. |
| Uploadcare | Hosting and storage | Needed, free | JSON, XML | – |
| Learn web services | Testing and mock data | Not needed | XML | Free, no key needed. |
| v.gd API | URL shorteners | Not needed | JSON, XML | Free, no key needed, with hourly limits per IP address. |