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.

ServiceCategoryAPI keyFormatsFree use
arXiv APIBooks and researchNot neededXMLFree, no key needed; the provider asks for at most one request every three seconds.
Internet Archive Advanced SearchBooks and researchNot neededJSON, XMLFree, no key needed.
Trove APIBooks and researchNeeded, freeJSON, XMLFree with a free API key for non-commercial use; commercial use needs permission from the library.
Wikidata Query ServiceBooks and researchNot neededJSON, XMLFree, no key needed; data is CC0.
InterFaxCommunicationNeeded, freeXMLPaid per page, with a free developer account for testing.
Dlvr.it APISocial mediaNeeded, freeJSON, XMLFree plan with limits; paid plans for more accounts and feeds.
Bank of Canada Valet APICurrency and financeNot neededJSON, XML, CSVFree, no key needed, with the Bank of Canada credited as the source.
ECB Data Portal APICurrency and financeNot neededJSON, XML, CSVFree, no key needed; cite the ECB as the source.
geoPlugin Currency ConverterCurrency and finance–JSON, XML–
NBP Web API (National Bank of Poland)Currency and financeNot neededJSON, XMLFree, no key needed.
FRED APIFinanceNeeded, freeJSON, XMLFree with a free API key.
U.S. Treasury Fiscal Data APIFinanceNot neededJSON, XML, CSVFree, no key needed, and the data may be reused, also commercially.
ipapi.coIP to location APIsNot neededJSON, XML, CSVFree without a key up to about 1,000 requests per day; paid plans for more.
ipquery.ioIP to location APIsNot neededJSON, XMLFree, no key needed, within a rate limit.
GeoNamesLocation InformationNeeded, freeJSON, XMLFree with a free GeoNames account (username) and a daily credit limit; paid premium service for heavy use.
Overpass APILocation InformationNot neededJSON, XMLFree on the public servers with fair use; heavy users should run their own instance.
Zipwise Free ZIP code web servicesLocation InformationNeeded, freeJSON, XML–
7Timer!Weather forecastsNot neededJSON, XMLFree, no key needed; a simple, long-running service without uptime guarantee.
Aviation Weather Center Data APIWeather forecastsNot neededJSON, XMLFree, no key needed; keep the number of requests reasonable.
NOAA Tides and Currents APIWeather forecastsNot neededJSON, XML, CSVFree, public domain, no key needed.
OpenWeatherMapWeather forecastsNeeded, freeJSON, XMLFree plan with a limit per minute and per month; paid plans for more calls and features.
World Weather Online Local Weather APIWeather forecastsNeeded, freeJSON, XML, CSVFree 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 APIWeather forecastsNeeded, freeJSON, XMLFree with a free API key, up to 500 calls a day; paid plans for more.
PurgoMalumLanguage and textNot neededJSON, XMLFree, no key needed.
Free Thumbnail APIMediaNeeded, freeXMLFree and Paid API.
MusicBrainz APIAudioNot neededJSON, XMLFree, no key needed, at about one request per second per IP address.
Radio Browser APIAudioNot neededJSON, XML, CSVFree, no key needed; the project is open source.
GXChart WebChartChart APIsNot neededXML–
DiceBear avatarsImage and photoNot neededXMLFree and open source, no key needed.
Flickr APIImage and photoNeeded, freeJSON, XMLFree for non-commercial use with a free API key; commercial use needs permission.
Gravatar APIImage and photoNot neededJSON, XMLFree; avatars need no key, the profile API uses a free API key.
OMDb APIVideoNeeded, freeJSON, XMLFree with a free API key, 1,000 requests a day.
Webz.io News APINews search APIsNeeded, freeJSON, XMLFree with a free API key and 5 dollars of usage credit every month; after that the API is pay as you go.
hnrssPublishers and feedsNot neededJSON, XML, RSSFree, no key needed.
The Guardian Open PlatformPublishers and feedsNeeded, freeJSON, XMLFree developer key for non-commercial use, with a daily limit; commercial use by agreement with the Guardian.
Congress.gov APIGovernment and lawNeeded, freeJSON, XMLFree with a free api.data.gov key.
legislation.gov.uk APIGovernment and lawNot neededXML, RSSFree, no key needed.
Food Hygiene Rating API (FSA)HealthNot neededJSON, XMLFree, no key needed.
RxNorm API (RxNav)HealthNot neededJSON, XMLFree, no key needed.
CBS Open Data (Statistics Netherlands)StatisticsNot neededJSON, XMLFree, no key needed.
OECD Data APIStatisticsNot neededJSON, XML, CSVFree, no key needed; the OECD limits how many queries one user may send per hour.
World Bank Indicators APIStatisticsNot neededJSON, XMLFree, open data, no key needed.
JokeAPIFun and gamesNot neededJSON, XMLFree, no key needed, with a limit of about 120 requests per minute.
Wufoo Form Builder APIWeb development servicesNeeded, freeJSON, XMLFree with a Wufoo account; the limits depend on your Wufoo plan.
Name APIData validatorsNeeded, freeXMLFree and paid plans.
VIES VAT number validationData validatorsNot neededJSON, XMLFree, no key needed.
Amazon Elastic Compute Cloud (EC2)Hosting and storageNeeded, freeXMLPaid, with a 12-month free tier for new AWS accounts.
Amazon Simple Storage Service (S3)Hosting and storageNeeded, freeXMLPaid, with a 12-month free tier for new AWS accounts.
Cloudflare R2Hosting and storageNeeded, freeXMLFree each month for 10 GB of storage, 1 million write and 10 million read operations; usage above that is paid.
UploadcareHosting and storageNeeded, freeJSON, XML–
Learn web servicesTesting and mock dataNot neededXMLFree, no key needed.
v.gd APIURL shortenersNot neededJSON, XMLFree, no key needed, with hourly limits per IP address.