I would advise you to search on query strings is really your limitation and it has nothing to do with the request via Ajax.
See an article on query string in Wikipedia
link
Do not go into details about constructing the URL to indicate that the parameters in the URL are separated by the character "&" according to the formula:
Parameter_name_1 = Parameter_value_1 & Parameter_name_2 = Parameter_value_2 & Parameter_name_3 = Parameter_value_3 ...
Using your example I'll append column parameter
<script>
$.ajax({
url: 'api.php?line=' + value +'&coluna=' + value2,
type: 'GET',
</script>