Skip to main content
GET
Get one published strategy prompt

Authorizations

x-api-key
string
header
required

API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.

Demo credential for trying the API from these docs: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

x-user-key
string
header
required

User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.

Demo credential for trying the API from these docs: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

Scopes

etoro-public:real:read

Grants access to the 'etoro-public:real:read' scope.

etoro-public:demo:read

Grants access to the 'etoro-public:demo:read' scope.

etoro-public:market-data:read

Grants access to the 'etoro-public:market-data:read' scope.

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"5e534fe2-8c28-461b-a99d-1105ea086d51"

Path Parameters

id
integer<int32>
required

Public id from the strategy prompt catalog.

Required range: x >= 1

Response

The XML prompt for the requested published strategy.

The XML research prompt for one published strategy. A hypothetical template, not a live trading instruction.

id
integer<int32>
required

Stable public id.

Example:

1

prompt
string
required

XML document another AI can run as a backtest template.

Example:

"<?xml version=\"1.0\" encoding=\"UTF-8\"?><strategyPrompt><id>1</id></strategyPrompt>"