Stock Quote - REST/JSON
This API returns the stock price of Yoisho Banking Corp. The data updates every minute, it's also sending additional Cache-Control headers.
Version 1
Open API Specification
Test the API
Sample Request
Get the Swagger
curl https://backend.yoisho.dob.jp/stockquote/swagger
{ "swagger" : "2.0", "host" : "", "basePath" : "/stockquote", "schemes" : [ "http" ], "paths" : { "/current" : { "get" : { "description" : "", "operationId" : "get_quote", "produces" : [ "application/json" ], "responses" : { "default" : { "description" : "successful operation" } } } } }, "info" : { "title" : "Yoisho Stock Quote", "description" : "", "version" : "1.0" }, "x-axway" : { "corsEnabled" : true, "basePaths" : [ "" ], "serviceType" : "rest", "deprecated" : false, "tags" : { } } }
Get current quote
curl https://backend.yoisho.dob.jp/stockquote/current
{"message": "Stock Price refreshes every minute", "stockprice": "371.44"}