Overview
Returns a temporary request token, initiating the OAuth process.
Description

This API returns a temporary request token that begins the OAuth process. The request token must accompany the user to the authorization page, where the user will grant your application limited access to the account. The token expires after five minutes.

URL
https://etws.etrade.com/oauth/request_token
HTTP Method: GET
Request Parameters
Property Type Description
oauth_consumer_key string The value used by the consumer to identify itself to the service provider.
oauth_timestamp integer The date and time of the request, in epoch time. Must be accurate within five minutes.
oauth_nonce string A nonce, as described in the authorization guide - roughly, an arbitrary or random value that cannot be used again with the same timestamp.
oauth_signature_method string The signature method used by the consumer to sign the request. The only supported value is "HMAC-SHA1".
oauth_signature string Signature generated with the shared secret and token secret using the specified oauth_signature_method, as described in OAuth documentation.
oauth_callback string Callback information, as described elsewhere. Must always be set to "oob", whether using a callback or not.
Response Properties
Property Type Description
oauth_token string The consumer's request token
oauth_token_secret string The token secret
oauth_callback_confirmed boolean Returns true if a callback URL is configured for the current consumer key, otherwise false. Callbacks are described under the Authorize Application API.
Sample Request
URL
GET https://etws.etrade.com/oauth/request_token
HTTP header
Authorization: OAuth realm="",oauth_callback="oob",oauth_signature="FjoSQaFDKEDK1FJazlY3xArNflk%3D", oauth_nonce="LTg2ODUzOTQ5MTEzMTY3MzQwMzE%3D",oauth_signature_method="HMAC-SHA1",oauth_consumer_key="282683cc9e4b8fc81dea6bc687d46758",oauth_timestamp="1273254425"
Sample Response

The response data is contained in the body of the response, URL-encoded. (This encoding type is identified in the response header, just as with XML and JSON responses.)

oauth_token=%2FiQRgQCRGPo7Xdk6G8QDSEzX0Jsy6sKNcULcDavAGgU%3D&oauth_token_secret=%2FrC9scEpzcwSEMy4vE7nodSzPLqfRINnTNY4voczyFM%3D&oauth_callback_confirmed=true
Notes
  • The request token is only valid for 5 minutes.
PLEASE READ THE IMPORTANT DISCLOSURES BELOW

By using E*TRADE API ("API") and accepting the terms of the Application Programming Interface License Agreement and the Application Programming Interface User Agreement, you agree that API may employ security policies, procedures and systems of Third Party providers which may or may not be less stringent and secure than the policies, procedures and systems of E*TRADE Securities LLC ("E*TRADE") or its affiliates. Material provided on API may have been produced by independent third parties not affiliated or endorsed by E*TRADE or its affiliates ("Third Party"). To the extent that API or Third Party providers express opinions or make recommendations, you understand that such opinions or recommendations are expressed by the Third Party provider and are not the opinions or recommendations of E*TRADE or its affiliates. E*TRADE is not responsible for the accuracy of market data displayed on API or made available by Third Party providers. There may be latency between the time an order (or other information) is submitted from API and the time the order is received by E*TRADE. The E*TRADE Two Second Execution Guarantee or any similar guarantee does not apply for orders placed through API and Third Party provider web sites. The E*TRADE CompleteTM Protection Guarantee does not apply. Orders created and submitted through API are not vetted until they are received by E*TRADE. It is possible that E*TRADE may reject an order placed through API. Please see the Application Programming Interface License Agreement and the Application Programming Interface User Agreement for more information.


The E*TRADE family of companies provides financial services including trading, investing, and related banking products and services to retail investors.


Securities products and services offered by E*TRADE Securities LLC, Member FINRA/SIPC.


System response and account access times may vary due to a variety of factors, including trading volumes, market conditions, system performance, and other factors.