v1

latestSwagger 2.02026-07-1316446.5 KB
OAuth

Obtain a request token

Obtain a request token. See section 6.1 of the OAuth v1.0a specification for more information. http://oauth.net/core/1.0a/#auth_step1

Note we do not return an oauth_token_secret in the response as we are using RSA signatures rather than PLAINTEXT authentication.

post/oauth/request_token

Request body

oauth_consumer_keystring

The 25-character hexadecimal string that was obtained from Interactive Brokers during the OAuth consumer registration process.

oauth_signature_methodstring

The signature method used to sign the request. Currently only 'RSA-SHA256' is supported.

oauth_signaturestring

The signature for the request generated using the method specified in the oauth_signature_method parameter. See section 9 of the OAuth v1.0a specification for more details on signing requests.

oauth_timestampstring

Timestamp expressed in seconds since 1/1/1970 00:00:00 GMT. Must be a positive integer and greater than or equal to any timestamp used in previous requests.

oauth_noncestring

A random string uniquely generated for each request.

oauth_callbackstring

An absolute URL to which IB will redirect the user. This URL is provided by the consumer during registration. This parameter must be set to 'oob'.

Response

OAuth token

oauth_tokenstring
All 16 operations