API Access & Features

SFOsignals provides clients with Data API. Customers can use this functionality to request current bids and offers for any stock or forex symbol. To use this service please select one of our monthly plans and subscribe. Plans differ based on the daily request limits and number of symbols per request. Every subscriber will receive a unique Access Token. You can see the syntax of our http calls below.

Query syntax:
http://sfosignals.com/api/forex.php?access_token=access_token&symbols=symbol1,symbol2,..,symbol10

Forex example query:
http://sfosignals.com/api/forex.php?access_token=TEST5a81b3274c50b761b1e07df57f77&symbols=EURUSD,EURCAD,USDCHF

Example response:
{"code":200, "result":[{"symbol":"EURCAD","ask":"1.43544","bid":"1.43522","last_time":"2016-07-20 03:53:30"},{"symbol":"EURUSD","ask":"1.09913","bid":"1.09892","last_time":"2016-07-20 03:53:30"},{"symbol":"USDCHF","ask":"0.98798","bid":"0.98772","last_time":"2016-07-20 03:53:30"}]}

Stock example query:
http://sfosignals.com/api/stocks.php?access_token=TEST5a81b3274c50b761b1e07df57f77&symbols=AAPL,GOOG

Example response:
{"code":200,"result":[{"symbol":"AAPL","ask":"100.20","bid":"100.11","last_time":"2016-07-21 02:05:19"},{"symbol":"GOOG","ask":"742.27","bid":"741.17","last_time":"2016-07-21 02:05:19"}]}

To make data requests using SFO API you must subscribe to one of the plans below. Once your subscription is processed you will receive your Access Token. Syntax of the request query is described above. Click here to see how to format the query: “How to create a query to retrieve data?”. You can test your query by entering i's text in the address line of any internet browser. If you have the token. It will be integrated into the API query samples above. All you have to do enter or replace stock or forex symbols in our examples and your query string is complete.

If you do not have your token yet, you can use the Test Token provided in the examples above. With the Test Token system will not return live data but it will return data in the expected format. If you have any questions regarding our services and the API implementation please contact us at: support@sfosignals.com

Please note, if you subscribe to Forex specific or Stock specific plan, you token will work only for symbols in that category.

Code Text Description
70 The date is invalid The date is invalid.
72 data not available data not available.
80 Exceeded request frequency The time period between the last request and the current one is too short.
81 Wrong Token category Your query category doesn't match your Token category.
88 Invalid Access Token You are using an invalid token.
89 Missing Access Token Missing Access Token
90 Invalid Symbol Symbol doesn't exist
91 Missing Symbol Symbol can`t be empty
92 Too many symbols Number of symbols exceeds maximum allowed
96 Day query limit is reached Exceeded maximum daily query limit
97 Expired Access Token Token is no longer active
200 OK Success!

Monthly Plans

    • Test

    • $0.99

      • Category: All
      • Requests per day: 25
      • Symbols per request: 1
    • Sign In
    • Personal

    • $9.99

      • Category: Forex
      • Requests per day: 250
      • Symbols per request: 3
    • Sign In
    • Professional

    • $19.99

      • Category: Forex
      • Requests per day: 2500
      • Symbols per request: 10
    • Sign In
    • Unlimited

    • $99.99

      • Category: All
      • Requests per day: n/a
      • Symbols per request: 20
    • Sign In
    • Personal

    • $19.99

      • Category: Stocks
      • Requests per day: 250
      • Symbols per request: 3
    • Sign In
    • Professional

    • $49.99

      • Category: Stocks
      • Requests per day: 2500
      • Symbols per request: 10
    • Sign In

Please tell us what you think about this service, available plans, pricing, etc. We appreciate your feedback!